Changed minio runner to use custom image
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user