From 2d06151816e05be41e2d7052ddf29505f81c2143 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 24 Jun 2021 08:46:25 +0200 Subject: [PATCH] Update Dockerfile --- inadyn/Dockerfile | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/inadyn/Dockerfile b/inadyn/Dockerfile index c4f095fde..fb3a6367a 100644 --- a/inadyn/Dockerfile +++ b/inadyn/Dockerfile @@ -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 \ ################ @@ -17,7 +17,7 @@ RUN \ curl \ jq \ bash \ - xz build-base libressl-dev ca-certificates \ + xz build-base libressl-dev ca-certificates npm \ \ ################## # Install bashio # @@ -32,15 +32,19 @@ RUN \ #################### # Install mustache # #################### - && 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 + && 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 # Copy root filesystem COPY rootfs /