Changed minio runner to use custom image
All checks were successful
Build and Push Docker Images / build-and-push (pull_request) Successful in 24s
Validate Kubernetes & YAML / validate-all (pull_request) Successful in 37s

This commit is contained in:
Adrien Bouvais 2026-08-17 11:39:18 +02:00
parent 174c5faf6b
commit b470314318
2 changed files with 14 additions and 1 deletions

View File

@ -15,7 +15,7 @@ spec:
restartPolicy: OnFailure
containers:
- name: setup
image: minio/mc:latest
image: registry.bouvais.lu/minio-runner:1.0.0
command: ["/bin/sh", "-c"]
args:
- |

View 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"]