Revision 28b4c96871df76c84c9afd2f91058b78d87f7c03 authored by Alexandre Perrin on 29 September 2020, 14:41:23 UTC, committed by Robin Hahling on 01 October 2020, 08:56:44 UTC
fsnotify Event.Op is a bit mask and testing for strict equality might
not detect the event operation correctly.

This patch make it so we check for fsnotify event operation
consistently as documented at https://github.com/fsnotify/fsnotify.

Signed-off-by: Alexandre Perrin <alex@kaworu.ch>
1 parent b71cf0d
Raw File
cilium-docker-plugin.Dockerfile
# (first line comment needed for DOCKER_BUILDKIT use)
#
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/plugins/cilium-docker
ARG LOCKDEBUG
ARG RACE
ARG NOSTRIP
RUN make NOSTRIP=$NOSTRIP LOCKDEBUG=$LOCKDEBUG RACE=$RACE

FROM scratch
ARG CILIUM_SHA=""
LABEL cilium-sha=${CILIUM_SHA}
LABEL maintainer="maintainer@cilium.io"
COPY --from=builder /go/src/github.com/cilium/cilium/plugins/cilium-docker/cilium-docker /usr/bin/cilium-docker
WORKDIR /
CMD ["/usr/bin/cilium-docker"]
back to top