mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update Dockerfile
This commit is contained in:
@@ -5,9 +5,9 @@ ARG BASHIO_VERSION=0.13.0
|
|||||||
ARG TEMPIO_VERSION=2021.01.0
|
ARG TEMPIO_VERSION=2021.01.0
|
||||||
ARG BUILD_ARCH
|
ARG BUILD_ARCH
|
||||||
|
|
||||||
ENV LANG='C.UTF-8'\
|
#ENV LANG='C.UTF-8'\
|
||||||
TERM='xterm-256color'\
|
# TERM='xterm-256color'\
|
||||||
GOPATH='/opt/go'
|
# GOPATH='/opt/go'
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
################
|
################
|
||||||
@@ -17,7 +17,7 @@ RUN \
|
|||||||
curl \
|
curl \
|
||||||
jq \
|
jq \
|
||||||
bash \
|
bash \
|
||||||
xz build-base libressl-dev ca-certificates \
|
xz build-base libressl-dev ca-certificates npm \
|
||||||
\
|
\
|
||||||
##################
|
##################
|
||||||
# Install bashio #
|
# Install bashio #
|
||||||
@@ -32,15 +32,19 @@ RUN \
|
|||||||
####################
|
####################
|
||||||
# Install mustache #
|
# Install mustache #
|
||||||
####################
|
####################
|
||||||
&& apk upgrade --no-cache &&\
|
&& apk add --no-cache \
|
||||||
apk add --no-cache --virtual .build-deps\
|
go \
|
||||||
build-base\
|
npm \
|
||||||
git\
|
&& npm install mustache-cli --global
|
||||||
go &&\
|
# && apk upgrade --no-cache &&\
|
||||||
go get -u github.com/quantumew/mustache-cli &&\
|
# apk add --no-cache --virtual .build-deps\
|
||||||
cp $GOPATH/bin/* /usr/bin/ && \
|
# build-base\
|
||||||
rm -rf $GOPATH /var/cache/apk/* /tmp/src &&\
|
# git\
|
||||||
apk del .build-deps xz build-base
|
# 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 root filesystem
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|||||||
Reference in New Issue
Block a user