mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-08 17:16:48 +02:00
21 lines
294 B
Docker
21 lines
294 B
Docker
FROM debian:buster-slim
|
|
|
|
ENV USER=user
|
|
ENV UID=1000
|
|
ENV GID=1000
|
|
|
|
RUN addgroup --gid "$GID" "$USER" && \
|
|
adduser \
|
|
--disabled-password \
|
|
--gecos "" \
|
|
--ingroup "$USER" \
|
|
--uid "$UID" \
|
|
"$USER"
|
|
|
|
WORKDIR /home/user/bin
|
|
COPY bin .
|
|
RUN chmod +x *.sh
|
|
USER user
|
|
|
|
CMD ./run.sh
|