routeros-config-export/Dockerfile

21 lines
368 B
Text
Raw Normal View History

2023-11-08 15:53:22 +01:00
# hadolint ignore=DL3007
FROM alpine:latest
2023-07-19 20:46:20 +02:00
2023-11-08 15:53:22 +01:00
# hadolint ignore=DL3018
RUN apk add --no-cache \
git \
openssh-client \
iputils-ping
2023-07-19 20:46:20 +02:00
# Copy the script into the container
2023-07-21 20:40:39 +02:00
COPY app.sh /app/app.sh
2023-07-19 20:46:20 +02:00
# Set the working directory
WORKDIR /app
# Make the script executable
2023-07-21 20:40:39 +02:00
RUN chmod +x app.sh
2023-07-19 20:46:20 +02:00
# Set the entrypoint to execute the script
2023-07-21 20:40:39 +02:00
ENTRYPOINT ["/app/app.sh"]