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
# spellcheck disable=SC2015
# hadolint ignore=SC2015
# hadolint ignore=SC2015,DL3017
RUN apk add --no-cache \
go \
npm \
@@ -70,8 +70,8 @@ RUN apk add --no-cache \
git\
go &&\
go get -u github.com/quantumew/mustache-cli &&\
cp $GOPATH/bin/* /usr/bin/ && \
rm -rf $GOPATH /var/cache/apk/* /tmp/src &&\
cp "$GOPATH"/bin/* /usr/bin/ && \
rm -rf "$GOPATH" /var/cache/apk/* /tmp/src &&\
apk del .build-deps xz build-base || true
################