mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-15 13:21:50 +02:00
Update Dockerfile
This commit is contained in:
@@ -22,7 +22,17 @@ RUN \
|
|||||||
| tar -xzf - --strip 1 -C /tmp/bashio \
|
| tar -xzf - --strip 1 -C /tmp/bashio \
|
||||||
&& mv /tmp/bashio/lib /usr/lib/bashio \
|
&& mv /tmp/bashio/lib /usr/lib/bashio \
|
||||||
&& ln -s /usr/lib/bashio/bashio /usr/bin/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 root filesystem
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|||||||
Reference in New Issue
Block a user