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 f2bd6f5 commit e09f717
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ RUN ./bin/installdependencies.sh
RUN useradd -m -s /bin/bash runner && \
echo "runner ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers

RUN useradd -m -s /bin/bash runner
RUN usermod -aG docker runner

RUN chown -R runner:runner /runner
Expand All @@ -72,6 +73,6 @@ COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

USER runner
# WORKDIR /runner
WORKDIR /runner

ENTRYPOINT ["/entrypoint.sh"]
2 changes: 0 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ fi

RUNNER_NAME=${RUNNER_NAME:-"default-runner"}

# sudo service docker start

# Trap SIGTERM and SIGINT to allow for cleanup
trap './config.sh remove --unattended && exit 0' SIGTERM SIGINT

Expand Down

0 comments on commit e09f717

Please sign in to comment.