Skip to content

Commit

Permalink
Use node alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
negbie committed Jun 20, 2019
1 parent 9510a65 commit 6d7ad8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:12.4.0-stretch as assets-builder
FROM node:12-alpine as assets-builder

ENV SUPERSET_REPO_ORG apache
ENV SUPERSET_REPO_NAME incubator-superset
Expand All @@ -8,6 +8,7 @@ ENV SUPERSET_ARCHIVE_URL https://github.com/${SUPERSET_REPO_ORG}/${SUPERSET
ENV SUPERSET_ASSETS_DIST_PATH /superset-assets-dist

WORKDIR /
RUN apk add curl
RUN curl -sL ${SUPERSET_ARCHIVE_URL} | tar zx \
&& cd ${SUPERSET_REPO_NAME}-${SUPERSET_VERSION}/superset/assets \
&& npm ci \
Expand Down

0 comments on commit 6d7ad8d

Please sign in to comment.