mirror of
https://github.com/k8snetworkplumbingwg/whereabouts.git
synced 2025-06-03 06:42:26 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
Bumps golang from 1.23 to 1.24. --- updated-dependencies: - dependency-name: golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
20 lines
642 B
Docker
20 lines
642 B
Docker
FROM golang:1.24
|
|
ADD . /usr/src/whereabouts
|
|
|
|
ENV GOARCH="arm64"
|
|
ENV GOOS="linux"
|
|
|
|
RUN mkdir -p $GOPATH/src/github.com/k8snetworkplumbingwg/whereabouts
|
|
WORKDIR $GOPATH/src/github.com/k8snetworkplumbingwg/whereabouts
|
|
COPY . .
|
|
RUN ./hack/build-go.sh
|
|
|
|
FROM arm64v8/alpine:latest
|
|
LABEL org.opencontainers.image.source=https://github.com/k8snetworkplumbingwg/whereabouts
|
|
COPY --from=0 /go/src/github.com/k8snetworkplumbingwg/whereabouts/bin/whereabouts .
|
|
COPY --from=0 /go/src/github.com/k8snetworkplumbingwg/whereabouts/bin/ip-control-loop .
|
|
COPY script/install-cni.sh .
|
|
COPY script/lib.sh .
|
|
COPY script/token-watcher.sh .
|
|
CMD ["/install-cni.sh"]
|