This commit is contained in:
bjoernellens1 2023-11-30 09:56:23 +01:00 committed by GitHub
parent 87d96a6013
commit 984f440440
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,18 +96,18 @@ LABEL org.opencontainers.image.source https://ghcr.io/bjoernellens1/cps_bot_mini
LABEL org.opencontainers.image.title=OliveTin LABEL org.opencontainers.image.title=OliveTin
# Making sure there is newest docker version installed # Making sure there is newest docker version installed
RUN dnf -y install dnf-plugins-core \ RUN dnf5 -y install dnf-plugins-core \
dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo \ dnf5 config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo \
dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin dnf5 install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
# Install OliveTin and dependencies # Install OliveTin and dependencies
RUN mkdir -p /config /var/www/olivetin \ RUN mkdir -p /config /var/www/olivetin \
&& dnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \ && dnf5 install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
iputils \ iputils \
openssh-clients \ openssh-clients \
shadow-utils \ shadow-utils \
OliveTin \ OliveTin \
&& dnf clean all && dnf5 clean all
RUN useradd --system --create-home olivetin -u 1000 RUN useradd --system --create-home olivetin -u 1000