Update Dockerfile

This commit is contained in:
Alexandre
2021-08-27 22:56:53 +02:00
committed by GitHub
parent 4c425b28fe
commit cdbc471ea0

View File

@@ -7,21 +7,20 @@ ARG user=joplin
USER $user USER $user
COPY --chown=$user:$user rootfs / COPY --chown=$user:$user rootfs /
ARG BASHIO_VERSION=0.13.1 #ARG BASHIO_VERSION=0.13.1
RUN \ RUN \
################ ################
# Install apps # # Install apps #
################ ################
#rm /var/lib/dpkg/lock \ npm install jq \
#&& apt-get autoremove \ \
##&& apt-get clean \ ###################
#&& apt-get autoclean \ # Configure image #
#&& apt-get update \ ###################
#&& apt-get install -y \ # Allow execution of run
# jq \ && chmod +x /run.sh
# curl \ #
#\
################## ##################
# Install bashio # # Install bashio #
################## ##################
@@ -32,12 +31,6 @@ RUN \
#&& 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 #
###################
#\
# Allow execution of run
chmod +x /run.sh
#ENTRYPOINT [ "/usr/bin/env" ] #ENTRYPOINT [ "/usr/bin/env" ]
CMD [ "/run.sh" ] CMD [ "/run.sh" ]