mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-30 04:14:04 +02:00
Update Dockerfile
This commit is contained in:
@@ -1,16 +1,16 @@
|
|||||||
ARG BUILD_FROM
|
ARG BUILD_FROM
|
||||||
FROM $BUILD_FROM
|
FROM $BUILD_FROM
|
||||||
|
|
||||||
RUN mkdir -p /tmp/resources \
|
RUN mkdir -p /joal \
|
||||||
&& curl -L -s \
|
&& curl -L -s \
|
||||||
"https://github.com/anthonyraymond/joal/releases/download/2.1.24/joal.tar.gz" \
|
"https://github.com/anthonyraymond/joal/releases/download/2.1.24/joal.tar.gz" \
|
||||||
| tar zxvf - -C /tmp/resources \
|
| tar zxvf - -C /joal \
|
||||||
&& chown -R $(id -u):$(id -g) /tmp/resources \
|
&& chown -R $(id -u):$(id -g) /joal \
|
||||||
&& rm -fr \
|
&& rm -fr \
|
||||||
/tmp/*
|
/tmp/*
|
||||||
|
|
||||||
COPY run.sh /
|
COPY run.sh /
|
||||||
RUN chmod a+x /run.sh
|
RUN chmod 777 /run.sh
|
||||||
#CMD [ "/run.sh" ]
|
#CMD [ "/run.sh" ]
|
||||||
#ENTRYPOINT [ "/" ]
|
#ENTRYPOINT [ "/" ]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user