mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
build: move GOLANGCI_VERSION to build.env
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
33dc861f23
commit
bc2ac1ccac
@ -10,7 +10,6 @@
|
||||
|
||||
FROM fedora:latest
|
||||
|
||||
ARG GOLANGCI_VERSION=v1.21.0
|
||||
ARG GOSEC_VERSION=2.0.0
|
||||
ARG GOPATH=/go
|
||||
|
||||
@ -19,7 +18,10 @@ ENV \
|
||||
GO111MODULE=on \
|
||||
PATH="${GOPATH}/bin:/opt/commitlint/node_modules/.bin:${PATH}"
|
||||
|
||||
RUN dnf -y install \
|
||||
COPY build.env /
|
||||
|
||||
RUN source /build.env \
|
||||
&& dnf -y install \
|
||||
git \
|
||||
make \
|
||||
golang \
|
||||
|
Reference in New Issue
Block a user