feature: Switched to fedora-minimal
This commit is contained in:
parent
2ef86beea5
commit
b51c139264
10
Dockerfile
10
Dockerfile
|
|
@ -1,15 +1,13 @@
|
||||||
FROM --platform=linux/amd64 docker.io/amd64/fedora
|
FROM --platform=linux/amd64 registry.fedoraproject.org/fedora-minimal:36-x86_64
|
||||||
|
|
||||||
RUN useradd -rm olivetin -u 1000
|
RUN useradd --system --create-home olivetin -u 1000
|
||||||
|
|
||||||
RUN mkdir -p /config /var/www/olivetin \
|
RUN mkdir -p /config /var/www/olivetin \
|
||||||
&& \
|
&& \
|
||||||
dnf install -y \
|
microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
||||||
iputils \
|
iputils \
|
||||||
openssh-clients \
|
openssh-clients \
|
||||||
docker \
|
docker
|
||||||
&& dnf clean all && \
|
|
||||||
rm -rf /var/cache/dnf
|
|
||||||
|
|
||||||
EXPOSE 1337/tcp
|
EXPOSE 1337/tcp
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,12 @@
|
||||||
FROM --platform=linux/arm64 docker.io/arm64v8/fedora
|
FROM --platform=linux/arm64 registry.fedoraproject.org/fedora-minimal:36-aarch64
|
||||||
|
|
||||||
RUN useradd -rm olivetin -u 1000
|
RUN useradd --system --create-home olivetin -u 1000
|
||||||
|
|
||||||
RUN mkdir -p /config /var/www/olivetin \
|
RUN mkdir -p /config /var/www/olivetin \
|
||||||
&& \
|
&& \
|
||||||
dnf install -y \
|
microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
||||||
iputils \
|
iputils \
|
||||||
openssh-clients \
|
openssh-clients
|
||||||
&& dnf clean all && \
|
|
||||||
rm -rf /var/cache/dnf
|
|
||||||
|
|
||||||
EXPOSE 1337/tcp
|
EXPOSE 1337/tcp
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,12 @@
|
||||||
FROM --platform=linux/arm/v7 arm32v7/fedora:latest
|
FROM --platform=linux/arm/v7 registry.fedoraproject.org/fedora-minimal:36-armhfp
|
||||||
|
|
||||||
RUN useradd -rm olivetin -u 1000
|
RUN useradd --system --create-home olivetin -u 1000
|
||||||
|
|
||||||
RUN mkdir -p /config /var/www/olivetin \
|
RUN mkdir -p /config /var/www/olivetin \
|
||||||
&& \
|
&& \
|
||||||
dnf install -y \
|
microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
||||||
iputils \
|
iputils \
|
||||||
openssh-clients \
|
openssh-clients
|
||||||
&& dnf clean all && \
|
|
||||||
rm -rf /var/cache/dnf
|
|
||||||
|
|
||||||
EXPOSE 1337/tcp
|
EXPOSE 1337/tcp
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue