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
This commit is contained in:
Drew Freyling
2019-02-06 10:06:18 +10:00
committed by kyle
parent ed8267af89
commit 52ce2871a2

View File

@@ -4,7 +4,7 @@
FROM nginx:1.15-alpine FROM nginx:1.15-alpine
RUN apk add nodejs RUN apk --no-cache add nodejs
LABEL maintainer="fehguy" LABEL maintainer="fehguy"