routeros-config-export/Dockerfile
2023-11-08 16:05:36 +01:00

21 lines
388 B
Docker

# hadolint ignore=DL3007
FROM alpine:latest
# hadolint ignore=DL3018
RUN apk add --no-cache \
git \
openssh-client \
iputils-ping \
&& 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.sh
# Set the entrypoint to execute the script
ENTRYPOINT ["/app/app.sh"]