16 lines
436 B
Plaintext
16 lines
436 B
Plaintext
# debian:buster-slim
|
|
FROM debian@sha256:13f0764262a064b2dd9f8a828bbaab29bdb1a1a0ac6adc8610a0a5f37e514955
|
|
|
|
RUN apt-get update \
|
|
&& apt-get upgrade -y \
|
|
&& apt-get install -y libssl1.1 ca-certificates tini
|
|
|
|
RUN addgroup --gid 10001 ptth_user && adduser --system --uid 10000 --gid 10001 ptth_user
|
|
|
|
USER ptth_user
|
|
WORKDIR /home/ptth_user
|
|
|
|
COPY ./run_app_package.bash ./
|
|
|
|
ENTRYPOINT ["/usr/bin/tini", "--", "bash", "./run_app_package.bash"]
|