mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 13:24:04 +02:00
Update Dockerfile
This commit is contained in:
@@ -22,17 +22,9 @@ 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
|
||||||
###################
|
|
||||||
# Configure image #
|
|
||||||
###################
|
|
||||||
&& touch /data/options.json \
|
|
||||||
&& chmod u+r /data/options.json || true
|
|
||||||
|
|
||||||
# Copy root filesystem
|
COPY rootfs /
|
||||||
ARG user=joplin
|
|
||||||
USER $user
|
|
||||||
COPY --chown=$user:$user rootfs /
|
|
||||||
RUN chmod +x /run.sh
|
RUN chmod +x /run.sh
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/bin/env" ]
|
ENTRYPOINT [ "/usr/bin/env" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user