mirror of
https://github.com/bjoernellens1/cps_loki.git
synced 2024-11-23 07:35:09 +00:00
update
This commit is contained in:
parent
e285df9940
commit
f62247fd4a
@ -91,35 +91,36 @@ LABEL org.opencontainers.image.source=https://github.com/bjoernellens1/cps_loki
|
|||||||
#############################################
|
#############################################
|
||||||
# OliveTin Build #
|
# OliveTin Build #
|
||||||
#############################################
|
#############################################
|
||||||
FROM registry.fedoraproject.org/fedora: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.source https://ghcr.io/bjoernellens1/cps_bot_mini_ws/olivetin
|
||||||
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 dnf -y install dnf-plugins-core \
|
||||||
&& dnf -y install 'dnf-command(config-manager)' \
|
# && dnf -y install 'dnf-command(config-manager)' \
|
||||||
&& dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo \
|
# && dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo \
|
||||||
&& dnf -y install docker-ce-cli docker-compose-plugin --setopt=install_weak_deps=False
|
# && dnf -y install docker-ce-cli docker-compose-plugin --setopt=install_weak_deps=False
|
||||||
|
|
||||||
# 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 \
|
# && dnf 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
|
# && dnf clean all
|
||||||
|
|
||||||
RUN useradd --system --create-home olivetin -u 1000
|
# RUN useradd --system --create-home olivetin -u 1000
|
||||||
|
|
||||||
EXPOSE 1337/tcp
|
# EXPOSE 1337/tcp
|
||||||
|
|
||||||
VOLUME /config
|
# VOLUME /config
|
||||||
|
|
||||||
USER olivetin
|
# USER olivetin
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/bin/OliveTin" ]
|
|
||||||
|
|
||||||
|
# ENTRYPOINT [ "/usr/bin/OliveTin" ]
|
||||||
|
|
||||||
|
FROM jamesread/olivetin AS olivetin
|
||||||
|
|
||||||
|
RUN microdnf -y install docker-compose-plugin
|
Loading…
Reference in New Issue
Block a user