Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CVEs #249

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
ARG VPP_VERSION=v23.10-rc0-170-g806b14eeb
FROM ghcr.io/networkservicemesh/govpp/vpp:${VPP_VERSION} as go
COPY --from=golang:1.20.12 /usr/local/go/ /go
COPY --from=golang:1.23.1 /usr/local/go/ /go
ENV PATH ${PATH}:/go/bin
ENV GO111MODULE=on
ENV CGO_ENABLED=0
ENV GOBIN=/bin
ARG BUILDARCH=amd64
RUN rm -r /etc/vpp
RUN go install github.com/go-delve/delve/cmd/[email protected]
ADD https://github.com/spiffe/spire/releases/download/v1.9.3/spire-1.9.3-linux-${BUILDARCH}-musl.tar.gz .
ADD https://github.com/spiffe/spire/releases/download/v1.10.3/spire-1.10.3-linux-${BUILDARCH}-musl.tar.gz .
ADD https://github.com/coredns/coredns/releases/download/v1.11.1/coredns_1.11.1_linux_${BUILDARCH}.tgz .
RUN tar xzvf spire-1.9.3-linux-${BUILDARCH}-musl.tar.gz -C /bin --strip=2 spire-1.9.3/bin/spire-server spire-1.9.3/bin/spire-agent
RUN tar xzvf spire-1.10.3-linux-${BUILDARCH}-musl.tar.gz -C /bin --strip=2 spire-1.10.3/bin/spire-server spire-1.10.3/bin/spire-agent
RUN tar xzvf coredns_1.11.1_linux_${BUILDARCH}.tgz -C /bin coredns

FROM go as build
Expand Down
Loading