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 f717237 commit f2bd6f5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ RUN apt-get update && apt-get install -y \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# RUN curl -fsSL https://get.docker.com -o get-docker.sh && \
# chmod +x get-docker.sh && \
# sh get-docker.sh && \
# rm 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

# RUN apt-get install ca-certificates && \
# install -m 0755 -d /etc/apt/keyrings && \
Expand Down Expand Up @@ -64,14 +64,14 @@ RUN ./bin/installdependencies.sh
RUN useradd -m -s /bin/bash runner && \
echo "runner ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers

# RUN usermod -aG docker runner
RUN usermod -aG docker runner

RUN chown -R runner:runner /runner

COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

USER runner
WORKDIR /runner
# WORKDIR /runner

ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit f2bd6f5

Please sign in to comment.