Skip to content
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions 14/alpine3.10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ RUN addgroup -g 1000 node \
&& apk del .build-deps \
# smoke tests
&& node --version \
&& npm --version
&& npm --version \
# remove unnecessary files
&& rm -rf \
/usr/local/lib/node_modules/npm/changelogs \
/usr/local/lib/node_modules/npm/man \
/usr/local/lib/node_modules/npm/docs

ENV YARN_VERSION 1.22.4

Expand All @@ -92,7 +97,10 @@ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
&& apk del .build-deps-yarn \
# smoke test
&& yarn --version
&& yarn --version \
# remove unnecessary files
&& rm -rf \
/tmp/v8-compile-cache-*

COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["docker-entrypoint.sh"]
Expand Down