Bumps the docker-minor group with 1 update: alpine. Updates `alpine` from 3.22 to 3.23 --- updated-dependencies: - dependency-name: alpine dependency-version: '3.23' dependency-type: direct:production update-type: version-update:semver-minor dependency-group: docker-minor ... Signed-off-by: dependabot[bot] <support@github.com>
19 lines
523 B
Docker
19 lines
523 B
Docker
# Set the base image to use for subsequent instructions
|
|
FROM alpine:3.23
|
|
|
|
# Set the working directory inside the container
|
|
WORKDIR /usr/src
|
|
|
|
# Copy any source file(s) required for the action
|
|
COPY entrypoint.sh .
|
|
|
|
# Create a non-root user and switch to it
|
|
RUN addgroup -S actiongroup && adduser -S actionuser -G actiongroup && \
|
|
chown -R actionuser:actiongroup /usr/src && \
|
|
chmod +x /usr/src/entrypoint.sh
|
|
|
|
USER actionuser
|
|
|
|
# Configure the container to be run as an executable
|
|
ENTRYPOINT ["/usr/src/entrypoint.sh"]
|