feature: comfig file provided with docker volume, upgrade to f38
This commit is contained in:
parent
58cc04298f
commit
fb2bb63d15
|
|
@ -1,9 +1,9 @@
|
||||||
FROM --platform=linux/amd64 registry.fedoraproject.org/fedora-minimal:36-x86_64
|
FROM --platform=linux/amd64 registry.fedoraproject.org/fedora-minimal:38-x86_64
|
||||||
|
|
||||||
LABEL org.opencontainers.image.source https://github.com/OliveTin/OliveTin
|
LABEL org.opencontainers.image.source https://github.com/OliveTin/OliveTin
|
||||||
LABEL org.opencontainers.image.title=OliveTin
|
LABEL org.opencontainers.image.title=OliveTin
|
||||||
|
|
||||||
RUN mkdir -p /config /var/www/olivetin \
|
RUN mkdir -p /config /config/entities/ /var/www/olivetin \
|
||||||
&& microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
&& microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
||||||
iputils \
|
iputils \
|
||||||
openssh-clients \
|
openssh-clients \
|
||||||
|
|
@ -15,6 +15,8 @@ RUN useradd --system --create-home olivetin -u 1000
|
||||||
|
|
||||||
EXPOSE 1337/tcp
|
EXPOSE 1337/tcp
|
||||||
|
|
||||||
|
COPY config.yaml /config
|
||||||
|
COPY var/entities/* /config/entities/
|
||||||
VOLUME /config
|
VOLUME /config
|
||||||
|
|
||||||
COPY OliveTin /usr/bin/OliveTin
|
COPY OliveTin /usr/bin/OliveTin
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
FROM --platform=linux/arm64 registry.fedoraproject.org/fedora-minimal:36-aarch64
|
FROM --platform=linux/arm64 registry.fedoraproject.org/fedora-minimal:38-aarch64
|
||||||
|
|
||||||
LABEL org.opencontainers.image.source https://github.com/OliveTin/OliveTin
|
LABEL org.opencontainers.image.source https://github.com/OliveTin/OliveTin
|
||||||
LABEL org.opencontainers.image.title=OliveTin
|
LABEL org.opencontainers.image.title=OliveTin
|
||||||
|
|
||||||
RUN mkdir -p /config /var/www/olivetin \
|
RUN mkdir -p /config /config/entities /var/www/olivetin \
|
||||||
&& \
|
&& \
|
||||||
microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
||||||
iputils \
|
iputils \
|
||||||
|
|
@ -14,6 +14,8 @@ RUN useradd --system --create-home olivetin -u 1000
|
||||||
|
|
||||||
EXPOSE 1337/tcp
|
EXPOSE 1337/tcp
|
||||||
|
|
||||||
|
COPY config.yaml /config
|
||||||
|
COPY var/entities/* /config/entities/
|
||||||
VOLUME /config
|
VOLUME /config
|
||||||
|
|
||||||
COPY OliveTin /usr/bin/OliveTin
|
COPY OliveTin /usr/bin/OliveTin
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ FROM --platform=linux/armhfp registry.fedoraproject.org/fedora-minimal:36-armhfp
|
||||||
LABEL org.opencontainers.image.source https://github.com/OliveTin/OliveTin
|
LABEL org.opencontainers.image.source https://github.com/OliveTin/OliveTin
|
||||||
LABEL org.opencontainers.image.title=OliveTin
|
LABEL org.opencontainers.image.title=OliveTin
|
||||||
|
|
||||||
RUN mkdir -p /config /var/www/olivetin \
|
RUN mkdir -p /config /config/entities /var/www/olivetin \
|
||||||
&& \
|
&& \
|
||||||
microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
||||||
iputils \
|
iputils \
|
||||||
|
|
@ -14,6 +14,8 @@ RUN useradd --system --create-home olivetin -u 1000
|
||||||
|
|
||||||
EXPOSE 1337/tcp
|
EXPOSE 1337/tcp
|
||||||
|
|
||||||
|
COPY config.yaml /config
|
||||||
|
COPY var/entities/* /config/entities/
|
||||||
VOLUME /config
|
VOLUME /config
|
||||||
|
|
||||||
COPY OliveTin /usr/bin/OliveTin
|
COPY OliveTin /usr/bin/OliveTin
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue