Skip to content

Commit

Permalink
Merge pull request #1516 from cybozu/cilium-operator-lbsvc-patched
Browse files Browse the repository at this point in the history
Add cilium-operator-generic 1.14.14.2
  • Loading branch information
chez-shanpu authored Jan 24, 2025
2 parents 1db94ba + 8599c6d commit 50925ac
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cilium-operator-generic/BRANCH
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.15
1.14
12 changes: 6 additions & 6 deletions cilium-operator-generic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ FROM ${GOLANG_IMAGE} as build
COPY TAG /

# LICENSE.all
WORKDIR /go/src/github.com/cilium/
WORKDIR /go/src/github.com/cybozu-go/
RUN VERSION=$(cut -d \. -f 1,2,3 < /TAG ) \
&& BRANCH=v${VERSION} \
&& git clone --depth 1 --branch ${BRANCH} https://github.com/cilium/cilium \
&& BRANCH=v${VERSION}-lbsvc-patch \
&& git clone --depth 1 --branch ${BRANCH} https://github.com/cybozu-go/cilium \
&& cd cilium \
&& make licenses-all \
&& apt-get update \
Expand All @@ -20,7 +20,7 @@ RUN VERSION=$(cut -d \. -f 1,2,3 < /TAG ) \
&& mkdir -p /etc/gops

# operator-generic
WORKDIR /go/src/github.com/cilium/cilium/operator
WORKDIR /go/src/github.com/cybozu-go/cilium/operator
RUN make cilium-operator-generic

# Stage2: runtime
Expand All @@ -30,8 +30,8 @@ LABEL org.opencontainers.image.source="https://github.com/cybozu/neco-containers
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=build /out/linux/amd64/bin/gops /bin/gops
COPY --from=build --chown=10000:10000 /etc/gops /etc/gops
COPY --from=build /go/src/github.com/cilium/cilium/LICENSE.all /LICENSE
COPY --from=build /go/src/github.com/cilium/cilium/operator/cilium-operator-generic /usr/bin/cilium-operator-generic
COPY --from=build /go/src/github.com/cybozu-go/cilium/LICENSE.all /LICENSE
COPY --from=build /go/src/github.com/cybozu-go/cilium/operator/cilium-operator-generic /usr/bin/cilium-operator-generic

USER 10000:10000

Expand Down
2 changes: 1 addition & 1 deletion cilium-operator-generic/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.15.13.1
1.14.14.2

0 comments on commit 50925ac

Please sign in to comment.