Skip to content

Commit

Permalink
ci(runner): add required dep
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin committed Jan 7, 2024
1 parent 446515f commit 1ae8eb1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions deployment/docker/prod/runner.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM dind-ansible:latest

RUN apk add --no-cache wget git rsync

RUN adduser -D -u 1001 -G root semaphore && \
RUN adduser -D -u 1001 -G root -G docker semaphore && \
mkdir -p /tmp/semaphore && \
mkdir -p /etc/semaphore && \
mkdir -p /var/lib/semaphore && \
Expand All @@ -25,9 +25,7 @@ RUN mkdir ./venv

RUN python3 -m venv ./venv --system-site-packages && \
source ./venv/bin/activate && \
pip3 install --upgrade pip

RUN pip3 install boto3 botocore
pip3 install --upgrade pip boto3 botocore requests

RUN echo '{"tmp_path": "/tmp/semaphore","dialect": "bolt", "runner": {"config_file": "/var/lib/semaphore/runner.json"}}' > /etc/semaphore/config.json

Expand Down

0 comments on commit 1ae8eb1

Please sign in to comment.