mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-09-30 05:01:10 +02:00
22 lines
285 B
Docker
22 lines
285 B
Docker
FROM debian:buster-slim
|
|
|
|
ARG UID
|
|
ARG GID
|
|
|
|
ENV USER=user
|
|
|
|
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
|