-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
31 lines (26 loc) · 1.13 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
############################################################
# Dockerfile
############################################################
# Set the base image
FROM alpine:3.8
############################################################
# Configuration
############################################################
ENV VERSION "0.7.0"
############################################################
# Entrypoint
############################################################
COPY docker-entrypoint.sh /usr/local/bin/
############################################################
# Installation
############################################################
RUN apk add --no-cache curl bash ca-certificates &&\
curl -L -o /usr/local/bin/kubeseal https://github.com/bitnami-labs/sealed-secrets/releases/download/v${VERSION}/kubeseal-linux-amd64 &&\
chmod 755 /usr/local/bin/kubeseal &&\
chmod +x /usr/local/bin/docker-entrypoint.sh &&\
apk del curl
############################################################
# Execution
############################################################
ENTRYPOINT [ "docker-entrypoint.sh" ]
CMD ["kubeseal", "help"]