mirror of
https://ark.sudovanilla.org/Korbs/Netweak-Agent-Docker.git
synced 2024-12-22 19:43:52 +00:00
13 lines
456 B
Docker
13 lines
456 B
Docker
|
FROM debian:12-slim
|
||
|
USER root
|
||
|
ENTRYPOINT cron start && tail -f /var/log/cron.log
|
||
|
|
||
|
# Install nessesary 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
|
||
|
|
||
|
# The user is expected to use "volume" configuration to override the Token
|
||
|
RUN curl -sSL netweak.sh | bash -s TOKEN_REPLACEMENT
|