You've already forked hugo-docker
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:
+2
-5
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user