Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
EatPrilosec authored Aug 11, 2024
1 parent ce802d2 commit 0cac787
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG TAG=bookworm
FROM debian:${TAG} as base

SHELL ["/bin/bash", "-c"]


ARG DEBIAN_FRONTEND=noninteractive
RUN echo 'debconf debconf/frontend select teletype' | debconf-set-selections
Expand Down Expand Up @@ -84,8 +84,8 @@ RUN sudo -E -u user -g userg wineboot --init

ENV CronCommand /app/epg-start.sh


CMD ["bash", "-c", "\'usermod -u $PUID user ; \
SHELL ["/bin/bash", "-c"]
CMD 'usermod -u $PUID user ; \
groupmod -g $PGID userg ; \
usermod -a -G sudo user ; \
chown -R user:userg $HOME ; \
Expand All @@ -96,5 +96,5 @@ CMD ["bash", "-c", "\'usermod -u $PUID user ; \
echo \"$CronSchedule sudo -E --group=userg --user=user $CronCommand >/home/user/cron.log 2>/home/user/cron.log\" >/home/user/cronfile ; \
crontab /home/user/cronfile ; \
cron & ; \
tail -F /home/user/cron.log \
\'"]
tail -F /home/user/cron.log '

0 comments on commit 0cac787

Please sign in to comment.