mirror of
https://github.com/ysoftdevs/secret-duplicator.git
synced 2026-05-29 19:20:40 +02:00
Initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
FROM golang:1.15 AS builder
|
||||
|
||||
WORKDIR /go/src/github.com/ysoftdevs/imagepullsecret-injector
|
||||
COPY . .
|
||||
RUN make build
|
||||
|
||||
FROM alpine:3.13.4 as base
|
||||
COPY --from=builder /go/src/github.com/ysoftdevs/imagepullsecret-injector/build/_output/bin/imagepullsecret-injector /usr/local/bin/imagepullsecret-injector
|
||||
|
||||
ENTRYPOINT ["imagepullsecret-injector"]
|
||||
@@ -0,0 +1,6 @@
|
||||
FROM alpine:3.13.4
|
||||
|
||||
RUN apk add bash curl openssl \
|
||||
&& curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" \
|
||||
&& chmod 755 ./kubectl \
|
||||
&& mv ./kubectl /usr/bin/kubectl
|
||||
Reference in New Issue
Block a user