diff --git a/Dockerfile b/Dockerfile index f0660d5..815279f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,15 @@ FROM --platform=linux/amd64 registry.fedoraproject.org/fedora-minimal:36-x86_64 -RUN useradd --system --create-home olivetin -u 1000 - RUN mkdir -p /config /var/www/olivetin \ && \ microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \ iputils \ openssh-clients \ + shadow-utils \ docker +RUN useradd --system --create-home olivetin -u 1000 + EXPOSE 1337/tcp VOLUME /config diff --git a/Dockerfile.arm64 b/Dockerfile.arm64 index 22c2b55..e80041a 100644 --- a/Dockerfile.arm64 +++ b/Dockerfile.arm64 @@ -1,13 +1,14 @@ FROM --platform=linux/arm64 registry.fedoraproject.org/fedora-minimal:36-aarch64 -RUN useradd --system --create-home olivetin -u 1000 - RUN mkdir -p /config /var/www/olivetin \ && \ microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \ iputils \ + shadow-utils \ openssh-clients +RUN useradd --system --create-home olivetin -u 1000 + EXPOSE 1337/tcp VOLUME /config diff --git a/Dockerfile.armv7 b/Dockerfile.armv7 index 220ea21..cc7cd9f 100644 --- a/Dockerfile.armv7 +++ b/Dockerfile.armv7 @@ -1,13 +1,14 @@ FROM --platform=linux/armhfp registry.fedoraproject.org/fedora-minimal:36-armhfp -RUN useradd --system --create-home olivetin -u 1000 - RUN mkdir -p /config /var/www/olivetin \ && \ microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \ iputils \ + shadow-utils \ openssh-clients +RUN useradd --system --create-home olivetin -u 1000 + EXPOSE 1337/tcp VOLUME /config