generated from networkservicemesh/cmd-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Nikita Skrynnik <[email protected]>
- Loading branch information
1 parent
1237907
commit 0191b29
Showing
3 changed files
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
ARG VPP_VERSION=v23.10-rc0-167-g399ef01b7 | ||
FROM ghcr.io/networkservicemesh/govpp/vpp:${VPP_VERSION} as go | ||
COPY --from=golang:1.20.11 /usr/local/go/ /go | ||
COPY --from=golang:1.20.12 /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.8.0/spire-1.8.0-linux-${BUILDARCH}-musl.tar.gz . | ||
ADD https://github.com/coredns/coredns/releases/download/v1.9.1/coredns_1.9.1_linux_${BUILDARCH}.tgz . | ||
RUN tar xzvf spire-1.8.0-linux-${BUILDARCH}-musl.tar.gz -C /bin --strip=2 spire-1.8.0/bin/spire-server spire-1.8.0/bin/spire-agent | ||
RUN tar xzvf coredns_1.9.1_linux_${BUILDARCH}.tgz -C /bin coredns | ||
ADD https://github.com/spiffe/spire/releases/download/v1.8.6/spire-1.8.6-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.8.6-linux-${BUILDARCH}-musl.tar.gz -C /bin --strip=2 spire-1.8.6/bin/spire-server spire-1.8.6/bin/spire-agent | ||
RUN tar xzvf coredns_1.11.1_linux_${BUILDARCH}.tgz -C /bin coredns | ||
|
||
FROM go as build | ||
WORKDIR /build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters