File tree Expand file tree Collapse file tree 3 files changed +0
-6
lines changed
Expand file tree Collapse file tree 3 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 11FROM registry.fedoraproject.org/fedora:43 AS builder
22RUN dnf install -y git-core golang gpgme-devel libassuan-devel && mkdir -p /build/
3- ARG GOPROXY=https://proxy.golang.org,direct
4- RUN go env -w GOPROXY=$GOPROXY
53WORKDIR /build
64COPY go.mod go.sum ./
75RUN go mod download
Original file line number Diff line number Diff line change 11FROM registry.fedoraproject.org/fedora:43 AS builder
22RUN dnf install -y git-core golang gpgme-devel libassuan-devel libvirt-devel && mkdir -p /build/bib
33COPY go.mod go.sum /build/bib/
4- ARG GOPROXY=https://proxy.golang.org,direct
5- RUN go env -w GOPROXY=$GOPROXY
64RUN cd /build/bib && go mod download
75# Copy the entire dir to avoid having to conditionally include ".git" as that
86# will not be available when tests are run under tmt
Original file line number Diff line number Diff line change 11FROM registry.fedoraproject.org/fedora:43 AS builder
22RUN dnf install -y git-core golang gpgme-devel libassuan-devel libvirt-devel && mkdir -p /build/bib
3- ARG GOPROXY=https://proxy.golang.org,direct
4- RUN go env -w GOPROXY=$GOPROXY
53# # Run with --build-context=images=../images to build with local changes
64COPY --from=images . /images
75COPY . /build
You can’t perform that action at this time.
0 commit comments