mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Fix sudo command in Dockerfile entrypoint script
This commit is contained in:
@@ -37,7 +37,7 @@ ENV SYNC_EXERCISES_ON_STARTUP=True \
|
||||
USER root
|
||||
|
||||
RUN echo "wger ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
|
||||
sed -i "1a sudo -E '/./ha_entrypoint.sh && chown wger /.env' && source /.env" /home/wger/entrypoint.sh
|
||||
sed -i "1a sudo -E /./ha_entrypoint.sh && sudo -E chown wger /.env && source /.env" /home/wger/entrypoint.sh
|
||||
|
||||
##################
|
||||
# 3 Install apps #
|
||||
|
||||
Reference in New Issue
Block a user