cicd: useradd after installing it
This commit is contained in:
parent
95c589478d
commit
770c6c06bf
|
|
@ -1,7 +1,5 @@
|
|||
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 \
|
||||
|
|
@ -10,6 +8,8 @@ RUN mkdir -p /config /var/www/olivetin \
|
|||
shadow-utils \
|
||||
docker
|
||||
|
||||
RUN useradd --system --create-home olivetin -u 1000
|
||||
|
||||
EXPOSE 1337/tcp
|
||||
|
||||
VOLUME /config
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
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 \
|
||||
|
|
@ -9,6 +7,8 @@ RUN mkdir -p /config /var/www/olivetin \
|
|||
shadow-utils \
|
||||
openssh-clients
|
||||
|
||||
RUN useradd --system --create-home olivetin -u 1000
|
||||
|
||||
EXPOSE 1337/tcp
|
||||
|
||||
VOLUME /config
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
FROM --platform=linux/arm/v7 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 \
|
||||
|
|
@ -9,6 +7,8 @@ RUN mkdir -p /config /var/www/olivetin \
|
|||
shadow-utils \
|
||||
openssh-clients
|
||||
|
||||
RUN useradd --system --create-home olivetin -u 1000
|
||||
|
||||
EXPOSE 1337/tcp
|
||||
|
||||
VOLUME /config
|
||||
|
|
|
|||
Loading…
Reference in New Issue