Skip to content

Commit

Permalink
Sudoers fix on pi4
Browse files Browse the repository at this point in the history
  • Loading branch information
vpetersson committed Dec 19, 2020
1 parent 369389b commit 01931f7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/Dockerfile.viewer
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ ENV QT_QPA_DEBUG=1

RUN useradd -g video viewer

# We need to fix up sudoers as it appears to be broken.
RUN chown 0:0 /usr/bin/sudo && \
chown -R 0:0 /etc/sudoers.d && \
chmod 4755 /usr/bin/sudo

WORKDIR /usr/src/app
RUN mkdir -p /usr/src/app
COPY . /usr/src/app/
Expand Down

0 comments on commit 01931f7

Please sign in to comment.