https://github.com/cilium/cilium
Revision d068162c9c8525aa66f2ccbbaf3bc05abad274bc authored by Joe Stringer on 06 October 2020, 21:54:06 UTC, committed by Joe Stringer on 07 October 2020, 17:21:55 UTC
Improve the help text and documentation for listing and generating
connectivity checks.

Fixes: #12714

Signed-off-by: Joe Stringer <joe@cilium.io>
1 parent 9d08cc6
Raw File
Tip revision: d068162c9c8525aa66f2ccbbaf3bc05abad274bc authored by Joe Stringer on 06 October 2020, 21:54:06 UTC
connectivity-check: Improve CLI help and docs
Tip revision: d068162
cilium-operator.Dockerfile
# (first line comment needed for DOCKER_BUILDKIT use)
#
ARG BASE_IMAGE=scratch

FROM docker.io/library/golang:1.15.2 as builder
ARG CILIUM_SHA=""
LABEL cilium-sha=${CILIUM_SHA}
LABEL maintainer="maintainer@cilium.io"

ADD . /go/src/github.com/cilium/cilium

WORKDIR /go/src/github.com/cilium/cilium/operator
ARG NOSTRIP
ARG LOCKDEBUG
ARG RACE
RUN make RACE=$RACE NOSTRIP=$NOSTRIP LOCKDEBUG=$LOCKDEBUG cilium-operator

FROM docker.io/library/alpine:3.12.0 as certs
ARG CILIUM_SHA=""
LABEL cilium-sha=${CILIUM_SHA}
RUN apk --update add ca-certificates

FROM docker.io/library/golang:1.15.2 as gops
ARG CILIUM_SHA=""
LABEL cilium-sha=${CILIUM_SHA}
RUN go get -d github.com/google/gops && \
    cd /go/src/github.com/google/gops && \
    git checkout -b v0.3.10 v0.3.10 && \
    git --no-pager remote -v && \
    git --no-pager log -1 && \
    CGO_ENABLED=0 go install && \
    strip /go/bin/gops

FROM ${BASE_IMAGE}
ARG CILIUM_SHA=""
LABEL cilium-sha=${CILIUM_SHA}
LABEL maintainer="maintainer@cilium.io"
COPY --from=builder /go/src/github.com/cilium/cilium/operator/cilium-operator /usr/bin/cilium-operator
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=gops /go/bin/gops /bin/gops
WORKDIR /
CMD ["/usr/bin/cilium-operator"]
back to top