Skip to content

Commit

Permalink
fix: more slim
Browse files Browse the repository at this point in the history
  • Loading branch information
pasqualedevita committed Jan 6, 2023
1 parent abd8ca8 commit 7af0c72
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ COPY install_script.sh install_script.sh

RUN bash install_script.sh

RUN useradd github && \
mkdir -p /home/github && \
chown -R github:github /home/github && \
chown -R github:github /actions-runner

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

Expand Down
7 changes: 7 additions & 0 deletions install_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,10 @@ apt-get update && apt-get -y install jq
YQ_VERSION="v4.30.6"
YQ_BINARY="yq_linux_amd64"
wget https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/${YQ_BINARY}.tar.gz -O - | tar xz && mv ${YQ_BINARY} /usr/bin/yq

###

useradd github
mkdir -p /home/github
chown -R github:github /home/github && \
chown -R github:github /actions-runner

0 comments on commit 7af0c72

Please sign in to comment.