FROM alpine:3@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b # hadolint ignore=DL3018 RUN apk add --no-cache \ git \ openssh-client \ iputils-ping \ bash \ && mkdir /app # Copy the script into the container COPY app.sh /app/app.sh # Set the working directory WORKDIR /app # Make the script executable RUN chmod +x /app/app.sh CMD ["bash", "/app/app.sh"]