mirror of
https://github.com/hugomods/docker.git
synced 2025-04-26 21:22:39 +03:00
17 lines
432 B
Text
17 lines
432 B
Text
ARG BUILD_TAGS=
|
|
|
|
# libc6-compat & libstdc++ are required for extended SASS libraries
|
|
RUN if [[ "$BUILD_TAGS" == *"extended"* ]]; then apk add --no-cache libc6-compat libstdc++; fi
|
|
|
|
RUN apk add --update --no-cache ca-certificates tzdata
|
|
|
|
# copy Hugo binary from builder.
|
|
COPY --from=builder /usr/bin/hugo /usr/bin/hugo
|
|
|
|
# copy binaries
|
|
COPY ./bin /usr/local/bin
|
|
|
|
ENTRYPOINT ["docker-entrypoint.sh"]
|
|
|
|
# default command.
|
|
CMD hugo help
|