Bläddra i källkod

Merge branch 'main' of ssh://github.com/OliveTin/OliveTin

jamesread 3 år sedan
förälder
incheckning
d15461a67b
3 ändrade filer med 9 tillägg och 6 borttagningar
  1. 3 2
      Dockerfile
  2. 3 2
      Dockerfile.arm64
  3. 3 2
      Dockerfile.armv7

+ 3 - 2
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

+ 3 - 2
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

+ 3 - 2
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