From 6f59b3ae2eca6306724580bed5670391a7b0ab57 Mon Sep 17 00:00:00 2001 From: Korbs Date: Wed, 11 Dec 2024 13:04:44 -0500 Subject: [PATCH] Add Cleanup --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) mode change 100644 => 100755 Dockerfile diff --git a/Dockerfile b/Dockerfile old mode 100644 new mode 100755 index 2b2dfcf..ad68921 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Use Debain 12 as the Base -FROM debian:12-slim +FROM ark.sudovanilla.org/korbs/debian-slim:amd64 # Run as root USER root @@ -7,12 +7,15 @@ USER root # Start Cron ENTRYPOINT cron start && tail -f /var/log/cron.log -# Install nessesary packages +# 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 \ No newline at end of file