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