mirror of
https://github.com/bjoernellens1/cps_loki.git
synced 2024-11-22 23:33:50 +00:00
update
This commit is contained in:
parent
291db5ea83
commit
d5f41cbe45
@ -100,11 +100,13 @@ RUN dnf -y install dnf-plugins-core \
|
||||
dnf 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
|
||||
|
||||
# Install OliveTin and dependencies
|
||||
RUN mkdir -p /config /var/www/olivetin \
|
||||
&& dnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
||||
iputils \
|
||||
openssh-clients \
|
||||
shadow-utils \
|
||||
OliveTin
|
||||
&& dnf clean all
|
||||
|
||||
RUN useradd --system --create-home olivetin -u 1000
|
||||
@ -113,9 +115,6 @@ EXPOSE 1337/tcp
|
||||
|
||||
VOLUME /config
|
||||
|
||||
COPY OliveTin /usr/bin/OliveTin
|
||||
COPY webui /var/www/olivetin/
|
||||
|
||||
USER olivetin
|
||||
|
||||
ENTRYPOINT [ "/usr/bin/OliveTin" ]
|
||||
|
Loading…
Reference in New Issue
Block a user