mirror of
https://github.com/bjoernellens1/cps_loki.git
synced 2024-11-22 23:33:50 +00:00
update: using normal fedora image now
This commit is contained in:
parent
984f440440
commit
553dab3fda
@ -90,24 +90,25 @@ LABEL org.opencontainers.image.source=https://github.com/bjoernellens1/cps_loki
|
||||
#############################################
|
||||
# OliveTin Build #
|
||||
#############################################
|
||||
FROM registry.fedoraproject.org/fedora-minimal:39 AS olivetin
|
||||
FROM registry.fedoraproject.org/fedora:39 AS olivetin
|
||||
|
||||
LABEL org.opencontainers.image.source https://ghcr.io/bjoernellens1/cps_bot_mini_ws/olivetin
|
||||
LABEL org.opencontainers.image.title=OliveTin
|
||||
|
||||
# Making sure there is newest docker version installed
|
||||
RUN dnf5 -y install dnf-plugins-core \
|
||||
dnf5 config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo \
|
||||
dnf5 install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
RUN dnf -y install dnf-plugins-core \
|
||||
dnf -y install 'dnf-command(config-manager)' \
|
||||
dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo \
|
||||
dnf -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
|
||||
# Install OliveTin and dependencies
|
||||
RUN mkdir -p /config /var/www/olivetin \
|
||||
&& dnf5 install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
||||
&& dnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
||||
iputils \
|
||||
openssh-clients \
|
||||
shadow-utils \
|
||||
OliveTin \
|
||||
&& dnf5 clean all
|
||||
&& dnf clean all
|
||||
|
||||
RUN useradd --system --create-home olivetin -u 1000
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user