You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- FROM debian:bullseye
-
- # Install tini
- ENV TINI_VERSION v0.19.0
- ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
- RUN chmod +x /tini
-
- # Add user
- RUN groupadd -g 1337 ab
- RUN groupadd -r psudo
- RUN useradd -rm -d /home/ab -s /bin/bash -g ab -G psudo -u 1337 ab
-
- # Create data mount
- RUN mkdir -p /data
- RUN chown ab:ab /data
-
- # Switch user
- USER ab
- WORKDIR /home/ab
-
- COPY mover.sh /home/ab/mover.sh
-
- ENTRYPOINT [ "/tini", "--" ]
|