routeros-config-export/Dockerfile

21 lines
337 B
Text
Raw Normal View History

FROM alpine:3.21.0
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 \
2023-11-08 16:05:36 +01:00
iputils-ping \
2023-11-08 16:17:36 +01:00
bash \
2023-11-08 16:05:36 +01:00
&& mkdir /app
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-11-08 16:12:29 +01:00
RUN chmod +x /app/app.sh
2023-07-19 20:46:20 +02:00
2023-11-08 16:16:23 +01:00
CMD ["bash", "/app/app.sh"]