1
mirror of https://github.com/jakejarvis/hugo-docker.git synced 2026-06-13 02:45:27 -04:00

trim a layer off final stage

This commit is contained in:
2021-03-07 15:34:45 -05:00
parent 248ff169bd
commit deaf886150
+2 -5
View File
@@ -45,7 +45,6 @@ FROM alpine:3.13
# renew global args from above
ARG HUGO_VERSION
ARG HUGO_BUILD_TAGS
LABEL version="${HUGO_VERSION}"
LABEL repository="https://github.com/jakejarvis/hugo-docker"
@@ -73,10 +72,8 @@ RUN apk update && \
ruby \
libc6-compat \
libstdc++ && \
update-ca-certificates
# download Hugo and miscellaneous optional dependencies
RUN npm install --global \
update-ca-certificates && \
npm install --global --production \
postcss \
postcss-cli \
autoprefixer \