Compare commits

...

2 Commits

Author SHA1 Message Date
f0821d2cfe Merge pull request 'Changed minio runner to use custom image' (#4) from test into main
Reviewed-on: #4
2026-08-17 09:39:51 +00:00
Adrien Bouvais
b470314318 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
2026-08-17 11:39:18 +02:00
2 changed files with 14 additions and 1 deletions

View File

@ -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:
- | - |

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