Skip to content

Commit

Permalink
fix - adjust docker permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
chaddyc committed Jan 1, 2025
1 parent 21c5787 commit 118b020
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ RUN apt-get update && apt-get install -y \
jq \
git \
tar \
nano \
sudo \
software-properties-common && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN curl -fsSL https://get.docker.com/rootless -o get-docker.sh && \
RUN curl -fsSL https://get.docker.com -o get-docker.sh && \
chmod +x get-docker.sh && \
sh get-docker.sh && \
rm get-docker.sh
Expand All @@ -45,8 +46,7 @@ RUN ./bin/installdependencies.sh
RUN useradd -m -s /bin/bash runner && \
echo "runner ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers

RUN getent group docker || groupadd -g 999 docker && \
usermod -aG docker runner
RUN usermod -aG docker runner

RUN chown -R runner:runner /runner

Expand Down

0 comments on commit 118b020

Please sign in to comment.