Skip to content

Commit 52ce287

Browse files
drewfreylingshockey
authored andcommitted
improvement(docker): smaller images via no-cache option (via #5157)
* add no-cache option for smaller images * move flag immediately after `apk` adjusting to be as close to the example as possible: https://github.com/gliderlabs/docker-alpine/blob/master/docs/usage.md#disabling-cache
1 parent ed8267a commit 52ce287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
FROM nginx:1.15-alpine
66

7-
RUN apk add nodejs
7+
RUN apk --no-cache add nodejs
88

99
LABEL maintainer="fehguy"
1010

0 commit comments

Comments
 (0)