Compare commits
2 Commits
f459b11e8b
...
f0821d2cfe
| Author | SHA1 | Date | |
|---|---|---|---|
| f0821d2cfe | |||
|
|
b470314318 |
@ -15,7 +15,7 @@ spec:
|
|||||||
restartPolicy: OnFailure
|
restartPolicy: OnFailure
|
||||||
containers:
|
containers:
|
||||||
- name: setup
|
- name: setup
|
||||||
image: minio/mc:latest
|
image: registry.bouvais.lu/minio-runner:1.0.0
|
||||||
command: ["/bin/sh", "-c"]
|
command: ["/bin/sh", "-c"]
|
||||||
args:
|
args:
|
||||||
- |
|
- |
|
||||||
|
|||||||
13
images/minio-setup-runner/dockerfile
Normal file
13
images/minio-setup-runner/dockerfile
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
FROM alpine:3.20
|
||||||
|
|
||||||
|
RUN apk add --no-cache curl bash \
|
||||||
|
&& curl -fsSL -o /usr/local/bin/mc https://dl.min.io/client/mc/release/linux-amd64/mc \
|
||||||
|
&& chmod +x /usr/local/bin/mc \
|
||||||
|
&& curl -fsSL -o /usr/local/bin/kubectl "https://dl.k8s.io/release/$(curl -fsSL https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" \
|
||||||
|
&& chmod +x /usr/local/bin/kubectl \
|
||||||
|
&& adduser -D -u 1000 runner
|
||||||
|
|
||||||
|
USER runner
|
||||||
|
WORKDIR /home/runner
|
||||||
|
|
||||||
|
ENTRYPOINT ["/bin/bash"]
|
||||||
Loading…
x
Reference in New Issue
Block a user