mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-09-30 05:01:10 +02:00
#4 Add pvc backup/restore Dockerfile
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
FROM alpine:3.9
|
||||
|
||||
RUN set -x && \
|
||||
addgroup -S user -g 1000 && \
|
||||
adduser -S user -G user && \
|
||||
apk add --no-cache bash
|
||||
WORKDIR /home/user/bin
|
||||
COPY bin .
|
||||
RUN chmod +x *.sh
|
||||
USER user
|
||||
|
||||
CMD exec /bin/sh -c "trap : TERM INT; (while true; do sleep 1000; done) & wait"
|
||||
Reference in New Issue
Block a user