mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2026-01-25 16:41:36 +02:00
Update Dockerfile
This commit is contained in:
@@ -64,11 +64,6 @@ RUN tar -cf /opt/initial_iobroker.tar /opt/iobroker
|
|||||||
# Setting up iobroker-user
|
# Setting up iobroker-user
|
||||||
RUN chsh -s /bin/bash iobroker
|
RUN chsh -s /bin/bash iobroker
|
||||||
|
|
||||||
#RUN echo 'iobroker ALL=(ALL) NOPASSWD: ALL' | EDITOR='tee -a' visudo \
|
|
||||||
# && echo "iobroker:iobroker" | chpasswd \
|
|
||||||
# && adduser iobroker sudo
|
|
||||||
#USER iobroker
|
|
||||||
|
|
||||||
# Setting up ENVs
|
# Setting up ENVs
|
||||||
ENV DEBIAN_FRONTEND="teletype" \
|
ENV DEBIAN_FRONTEND="teletype" \
|
||||||
LANG="de_DE.UTF-8" \
|
LANG="de_DE.UTF-8" \
|
||||||
@@ -82,4 +77,5 @@ ENV DEBIAN_FRONTEND="teletype" \
|
|||||||
EXPOSE 8081/tcp
|
EXPOSE 8081/tcp
|
||||||
|
|
||||||
# Run startup-script
|
# Run startup-script
|
||||||
|
USER root
|
||||||
CMD ["sh", "/opt/scripts/iobroker_startup.sh"]
|
CMD ["sh", "/opt/scripts/iobroker_startup.sh"]
|
||||||
|
|||||||
Reference in New Issue
Block a user