feature: Switched to fedora-minimal

This commit is contained in:
jamesread 2022-09-29 02:21:53 +02:00
parent 2ef86beea5
commit b51c139264
3 changed files with 12 additions and 18 deletions

View File

@ -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 \
&& \
dnf install -y \
microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
iputils \
openssh-clients \
docker \
&& dnf clean all && \
rm -rf /var/cache/dnf
docker
EXPOSE 1337/tcp

View File

@ -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 \
&& \
dnf install -y \
microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
iputils \
openssh-clients \
&& dnf clean all && \
rm -rf /var/cache/dnf
openssh-clients
EXPOSE 1337/tcp

View File

@ -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 \
&& \
dnf install -y \
microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
iputils \
openssh-clients \
&& dnf clean all && \
rm -rf /var/cache/dnf
openssh-clients
EXPOSE 1337/tcp