18 lines
319 B
Docker
18 lines
319 B
Docker
|
FROM debian:bullseye-slim
|
||
|
|
||
|
SHELL ["/bin/bash", "-c"]
|
||
|
|
||
|
ARG USER_ID
|
||
|
ARG GROUP_ID
|
||
|
|
||
|
RUN addgroup --gid ${GROUP_ID} user; \
|
||
|
adduser --disabled-password --gecos '' --uid ${USER_ID} --gid ${GROUP_ID} user;
|
||
|
|
||
|
USER user
|
||
|
|
||
|
STOPSIGNAL SIGINT
|
||
|
|
||
|
COPY "entry_point_test.sh" "/home/user/"
|
||
|
ENTRYPOINT ["/home/user/entry_point_test.sh"]
|
||
|
|