Update Dockerfile

This commit is contained in:
Alexandre
2021-06-23 21:10:44 +02:00
committed by GitHub
parent 5b0bde0518
commit f4eebf9cef

View File

@@ -22,7 +22,17 @@ RUN \
| tar -xzf - --strip 1 -C /tmp/bashio \
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio
&& rm -rf /tmp/bashio
RUN 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 /