Skip to content

Commit

Permalink
List files as part of Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffano committed Jul 15, 2024
1 parent cbeb3e2 commit fbc1bbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ARG IMAGE=alpine:3.20
FROM ${IMAGE}
COPY entrypoint.sh /entrypoint.sh
RUN ls -al
ENTRYPOINT ["/entrypoint.sh"]
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ runs:
- name: Run Docker container
shell: bash
run: |
docker run --rm -v "/var/run/docker.sock":"/var/run/docker.sock" -v ${PWD}/entrypoint.sh:/entrypoint.sh --name local_container local_image:8.8.8 "${{ inputs.command }}"
docker run --rm -v "/var/run/docker.sock":"/var/run/docker.sock" --name local_container local_image:8.8.8 "${{ inputs.command }}"

0 comments on commit fbc1bbe

Please sign in to comment.