Update Dockerfile

This commit is contained in:
Alexandre
2021-06-24 12:00:27 +02:00
committed by GitHub
parent 1834f6623e
commit 8383b827fa

View File

@@ -5,9 +5,9 @@ ARG BASHIO_VERSION=0.13.0
ARG TEMPIO_VERSION=2021.01.0
ARG BUILD_ARCH
#ENV LANG='C.UTF-8'\
# TERM='xterm-256color'\
# GOPATH='/opt/go'
ENV LANG='C.UTF-8'\
TERM='xterm-256color'\
GOPATH='/opt/go'
RUN \
################
@@ -35,16 +35,16 @@ RUN \
&& apk add --no-cache \
go \
npm \
&& npm install mustache-cli --global
# && apk upgrade --no-cache &&\
# apk add --no-cache --virtual .build-deps\
# build-base\
# git\
# go &&\
# go get -u github.com/quantumew/mustache-cli &&\
# cp $GOPATH/bin/* /usr/bin/ && \
# rm -rf $GOPATH /var/cache/apk/* /tmp/src &&\
# apk del .build-deps xz build-base
# && npm install mustache-cli --global
&& apk upgrade --no-cache &&\
apk add --no-cache --virtual .build-deps\
build-base\
git\
go &&\
go get -u github.com/quantumew/mustache-cli &&\
cp $GOPATH/bin/* /usr/bin/ && \
rm -rf $GOPATH /var/cache/apk/* /tmp/src &&\
apk del .build-deps xz build-base
# Copy root filesystem
COPY rootfs /