Skip to content

Commit

Permalink
update github-action-molecule dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
iamenr0s authored May 8, 2024
1 parent 683fcca commit 833876b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docker_builds/github-action-molecule/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ ARG BUILD_DATE
LABEL build_date=$BUILD_DATE

WORKDIR /github/workspace

COPY requirements.txt .

RUN apk add --no-cache \
build-base \
gcc \
Expand All @@ -27,9 +25,7 @@ RUN apk add --no-cache \
/opt/venv/bin/pip3 install --no-cache-dir -r requirements.txt && \
/opt/venv/bin/python -m pip cache purge


ENV PATH=/opt/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

COPY cmd.sh /cmd.sh

CMD ["/bin/sh" "/cmd.sh"]
RUN chmod 777 /cmd.sh
CMD ["/cmd.sh"]

0 comments on commit 833876b

Please sign in to comment.