-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (17 loc) · 827 Bytes
/
Dockerfile
File metadata and controls
22 lines (17 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM alpine:3.17
LABEL org.opencontainers.image.authors="FairwindsOps, Inc." \
org.opencontainers.image.vendor="FairwindsOps, Inc." \
org.opencontainers.image.title="gemini" \
org.opencontainers.image.description="Automated backups of PersistentVolumeClaims in Kubernetes using VolumeSnapshots" \
org.opencontainers.image.documentation="https://github.com/FairwindsOps/gemini" \
org.opencontainers.image.source="https://github.com/FairwindsOps/gemini" \
org.opencontainers.image.url="https://github.com/FairwindsOps/gemini" \
org.opencontainers.image.licenses="Apache License 2.0"
WORKDIR /usr/local/bin
RUN apk -U upgrade
RUN apk --no-cache add ca-certificates
RUN addgroup -S gemini && adduser -u 1200 -S gemini -G gemini
USER 1200
COPY gemini .
WORKDIR /opt/app
CMD ["gemini"]