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
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 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
|
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 \
|
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
|
||||||
&& dnf clean all
|
&& dnf clean all
|
||||||
|
|
||||||
RUN useradd --system --create-home olivetin -u 1000
|
RUN useradd --system --create-home olivetin -u 1000
|
||||||
@ -113,9 +115,6 @@ EXPOSE 1337/tcp
|
|||||||
|
|
||||||
VOLUME /config
|
VOLUME /config
|
||||||
|
|
||||||
COPY OliveTin /usr/bin/OliveTin
|
|
||||||
COPY webui /var/www/olivetin/
|
|
||||||
|
|
||||||
USER olivetin
|
USER olivetin
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/bin/OliveTin" ]
|
ENTRYPOINT [ "/usr/bin/OliveTin" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user