2024-05-17 19:49:36 -05:00
|
|
|
# Use Debain 12 as the Base
|
2024-12-11 13:04:44 -05:00
|
|
|
FROM ark.sudovanilla.org/korbs/debian-slim:amd64
|
2024-05-17 19:49:36 -05:00
|
|
|
|
|
|
|
# Run as root
|
2024-05-17 04:07:59 -05:00
|
|
|
USER root
|
2024-05-17 19:49:36 -05:00
|
|
|
|
|
|
|
# Start Cron
|
2024-05-17 04:07:59 -05:00
|
|
|
ENTRYPOINT cron start && tail -f /var/log/cron.log
|
|
|
|
|
2024-12-11 13:04:44 -05:00
|
|
|
# Install necessary packages
|
2024-05-17 04:07:59 -05:00
|
|
|
RUN apt-get update && apt-get -y install libcurl4-openssl-dev g++ ca-certificates curl gnupg procps iputils-ping wget net-tools iproute2
|
|
|
|
|
|
|
|
# Cron
|
|
|
|
RUN apt-get -y install -qq --force-yes cron
|
|
|
|
RUN touch /var/log/cron.log
|
|
|
|
|
2024-12-11 13:04:44 -05:00
|
|
|
# Cleanup
|
|
|
|
RUN rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2024-05-17 19:49:36 -05:00
|
|
|
# The server admin(you) is expected to use "volume" configuration to override the Token
|
2024-05-17 04:07:59 -05:00
|
|
|
RUN curl -sSL netweak.sh | bash -s TOKEN_REPLACEMENT
|