Update Dockerfile

This commit is contained in:
Alexandre
2022-02-19 10:12:37 +01:00
committed by GitHub
parent a5e6725347
commit f936dd8473

View File

@@ -58,7 +58,7 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get
# Install mustache # Install mustache
# spellcheck disable=SC2015 # spellcheck disable=SC2015
# hadolint ignore=SC2015 # hadolint ignore=SC2015,DL3017
RUN apk add --no-cache \ RUN apk add --no-cache \
go \ go \
npm \ npm \
@@ -70,8 +70,8 @@ RUN apk add --no-cache \
git\ git\
go &&\ go &&\
go get -u github.com/quantumew/mustache-cli &&\ go get -u github.com/quantumew/mustache-cli &&\
cp $GOPATH/bin/* /usr/bin/ && \ cp "$GOPATH"/bin/* /usr/bin/ && \
rm -rf $GOPATH /var/cache/apk/* /tmp/src &&\ rm -rf "$GOPATH" /var/cache/apk/* /tmp/src &&\
apk del .build-deps xz build-base || true apk del .build-deps xz build-base || true
################ ################