forked from google/cloudprober
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
24 lines (21 loc) · 810 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
24
# This Dockerfile expects "cloudprober" binary and ca-certificates to exist
# in the working directory.
#
# Docker image built using this can executed in the following manner:
# docker run --net host -v $PWD/cloudprober.cfg:/etc/cloudprober.cfg \
# cloudprober/cloudprober
FROM busybox
ADD cloudprober /cloudprober
COPY ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
# Metadata params
ARG BUILD_DATE
ARG VERSION
ARG VCS_REF
# Metadata
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="Cloudprober" \
org.label-schema.vcs-url="https://github.com/google/cloudprober" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.version=$VERSION \
com.microscaling.license="Apache-2.0"
ENTRYPOINT ["/cloudprober", "--logtostderr"]