Merge pull request 'Changed minio runner to use custom image' (#4) from test into main

Reviewed-on: #4
This commit is contained in:
Adrien Bouvais 2026-08-17 09:39:51 +00:00
commit f0821d2cfe
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"]