-
Notifications
You must be signed in to change notification settings - Fork 148
/
Dockerfile
23 lines (20 loc) · 927 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.1
ARG kan_tools_version="test-version"
LABEL name="kanister-tools" \
vendor="Kanister" \
version="${kan_tools_version}" \
release="${kan_tools_version}" \
summary="Microservice for application-specific data management for Kubernetes" \
maintainer="Tom Manville<tom@kasten.io>" \
description="Kanister tools for application-specific data management"
COPY --from=restic/restic:0.9.5 /usr/bin/restic /usr/local/bin/restic
# kopia alpine-2610d7d image
COPY --from=kanisterio/kopia@sha256:c5697a667832e37f46e74962607f96c3efb04cc220e22a3b554d20d8a1c8162a \
/kopia/kopia /usr/local/bin/kopia
COPY LICENSE /licenses/LICENSE
ADD kando /usr/local/bin/
RUN microdnf update && microdnf install shadow-utils httpd-tools && \
adduser -U kanister -u 1000 && \
microdnf remove shadow-utils && \
microdnf clean all
CMD [ "/usr/bin/tail", "-f", "/dev/null" ]