File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM docker.io/drycc/base:bullseye
22
3+ RUN adduser --system \
4+ --shell /bin/bash \
5+ --disabled-password \
6+ --home /workspace \
7+ --group drycc
8+
39ADD . /
4- ENV PODMAN_VERSION="4.0.1 " \
10+ ENV PODMAN_VERSION="4.0.2 " \
511 MC_VERSION="2022.02.26.03.58.31" \
612 CADDY_VERSION="2.4.6" \
7- PACK_VERSION="0.24.0"
13+ PACK_VERSION="0.24.0" \
14+ GOSU_VERSION="1.14"
815
916RUN install-packages procps psmisc \
1017 && install-stack podman $PODMAN_VERSION \
1118 && install-stack mc $MC_VERSION \
1219 && install-stack caddy $CADDY_VERSION \
1320 && install-stack pack $PACK_VERSION \
21+ && install-stack gosu $GOSU_VERSION \
22+ && usermod --add-subuids 200000-201000 --add-subgids 200000-201000 drycc \
23+ && chown -R drycc:drycc /opt/drycc/podman \
1424 && rm -rf \
1525 /usr/share/doc \
1626 /usr/share/man \
@@ -31,5 +41,5 @@ ENV HOME /tmp
3141ENV XDG_DATA_HOME /tmp
3242ENV XDG_CONFIG_HOME /tmp/.config
3343
34- ENTRYPOINT ["init-stack" , "/imagebuilder/build" ]
44+ ENTRYPOINT ["init-stack" , "/imagebuilder/prebuild" , "/imagebuilder/ build" ]
3545
Original file line number Diff line number Diff line change 4141
4242registries=" /etc/imagebuilder/registries.conf"
4343if [ -f " ${registries} " ]; then
44- cat " ${registries} " > /etc/containers/registries.conf
44+ cat " ${registries} " > /opt/drycc/podman/ etc/containers/registries.conf
4545fi
4646
4747podman system service --time 0 tcp:0.0.0.0:${DOCKER_PORT} &
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+
5+ mount --make-rshared /
6+ exec gosu drycc " $@ "
You can’t perform that action at this time.
0 commit comments