mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-28 08:41:44 +00:00
Update Dockerfile
This commit is contained in:
1 parent
a64c21d530
commit
9538a9180e
1 file changed
+4
-4
+4
-4
@@ -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