Revision c515f14b11f22d00f6c088e6adc2f90902b20f95 authored by Martynas Pumputis on 07 May 2020, 12:31:20 UTC, committed by Martynas Pumputis on 07 May 2020, 12:31:20 UTC
Signed-off-by: Martynas Pumputis <m@lambda.lt>
1 parent 5f53137
cilium-operator.Dockerfile
FROM docker.io/library/golang:1.14.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 LOCKDEBUG
RUN make LOCKDEBUG=$LOCKDEBUG EXTRA_GO_BUILD_FLAGS="-tags operator_aws,operator_azure"
FROM docker.io/library/alpine:3.9.3 as certs
ARG CILIUM_SHA=""
LABEL cilium-sha=${CILIUM_SHA}
RUN apk --update add ca-certificates
FROM scratch
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
WORKDIR /
CMD ["/usr/bin/cilium-operator"]
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...