diff --git a/_examples/actions/docker_action/Dockerfile b/_examples/actions/docker_action/Dockerfile index 88ad6a0..572de73 100644 --- a/_examples/actions/docker_action/Dockerfile +++ b/_examples/actions/docker_action/Dockerfile @@ -3,4 +3,6 @@ FROM debian:bullseye-slim # Kraken relies on this path being the specified path WORKDIR /src/work/ -RUN echo "# README docker" > README.md +COPY entry.sh /src/script.sh + +CMD [ "/src/script.sh" ] diff --git a/_examples/actions/docker_action/script.sh b/_examples/actions/docker_action/script.sh new file mode 100644 index 0000000..11771f4 --- /dev/null +++ b/_examples/actions/docker_action/script.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +set -e + +echo "# README docker" > README.md