change to alpine

This commit is contained in:
MrMeeb 2023-06-20 21:26:11 +00:00
parent 6ef0abfd6b
commit e7bd87d5bd

View File

@ -1,4 +1,5 @@
FROM debian:bullseye-slim
FROM alpine:latest as base
ARG TARGETARCH
RUN apt update && apt install -y bash cron python3 python3-venv procps tini
@ -19,6 +20,12 @@ ENV INTERVAL="0 */6 * * *"
ENV STAGING=false
ENV PROPOGATION_TIME=10
ENV GENERATE_DHPARAM=true
ENV TZ=UTC
ENV PUID=1000
ENV PGID=1000
#Get required packages
RUN apk update && apk add curl bash python3 py3-virtualenv procps tzdata nano shadow xz busybox-suid openssl
ENTRYPOINT ["/usr/bin/tini", "-s", "/run.sh"]