Netweak-Agent-Docker/Dockerfile
2024-12-11 13:04:44 -05:00

21 lines
No EOL
598 B
Docker
Executable file

# Use Debain 12 as the Base
FROM ark.sudovanilla.org/korbs/debian-slim:amd64
# Run as root
USER root
# Start Cron
ENTRYPOINT cron start && tail -f /var/log/cron.log
# Install necessary packages
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
# Cleanup
RUN rm -rf /var/lib/apt/lists/*
# The server admin(you) is expected to use "volume" configuration to override the Token
RUN curl -sSL netweak.sh | bash -s TOKEN_REPLACEMENT