Skip to content

Commit c1a42f9

Browse files
committed
Re-order common env variables
Signed-off-by: Zuhayr Elahi <[email protected]>
1 parent 1b52d15 commit c1a42f9

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

rpm/centos-7/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ FROM ${GO_IMAGE} as golang
55
FROM ${BUILD_IMAGE}
66
ENV GOPROXY=direct
77
ENV GO111MODULE=off
8-
ENV DISTRO centos
9-
ENV SUITE 7
108
ENV GOPATH=/go
119
ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin
1210
ENV AUTO_GOPATH 1
1311
ENV DOCKER_BUILDTAGS seccomp selinux
1412
ENV RUNC_BUILDTAGS seccomp selinux
13+
ENV DISTRO centos
14+
ENV SUITE 7
1515
RUN yum install -y rpm-build rpmlint
1616
COPY SPECS /root/rpmbuild/SPECS
1717
# Overwrite repo that was failing on aarch64

rpm/fedora-29/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ FROM ${GO_IMAGE} as golang
55
FROM ${BUILD_IMAGE}
66
ENV GOPROXY=direct
77
ENV GO111MODULE=off
8-
ENV DISTRO fedora
9-
ENV SUITE 29
108
ENV GOPATH /go
119
ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin
1210
ENV AUTO_GOPATH 1
1311
ENV DOCKER_BUILDTAGS seccomp selinux
1412
ENV RUNC_BUILDTAGS seccomp selinux
13+
ENV DISTRO fedora
14+
ENV SUITE 29
1515
RUN dnf install -y rpm-build rpmlint dnf-plugins-core
1616
COPY SPECS /root/rpmbuild/SPECS
1717
RUN dnf builddep -y /root/rpmbuild/SPECS/*.spec

rpm/fedora-30/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ FROM ${GO_IMAGE} as golang
55
FROM ${BUILD_IMAGE}
66
ENV GOPROXY=direct
77
ENV GO111MODULE=off
8-
ENV DISTRO fedora
9-
ENV SUITE 30
108
ENV GOPATH /go
119
ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin
1210
ENV AUTO_GOPATH 1
1311
ENV DOCKER_BUILDTAGS seccomp selinux
1412
ENV RUNC_BUILDTAGS seccomp selinux
13+
ENV DISTRO fedora
14+
ENV SUITE 30
1515
RUN dnf install -y rpm-build rpmlint dnf-plugins-core
1616
COPY SPECS /root/rpmbuild/SPECS
1717
RUN dnf builddep -y /root/rpmbuild/SPECS/*.spec

rpm/fedora-31/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ FROM ${GO_IMAGE} as golang
55
FROM ${BUILD_IMAGE}
66
ENV GOPROXY=direct
77
ENV GO111MODULE=off
8-
ENV DISTRO fedora
9-
ENV SUITE 31
108
ENV GOPATH /go
119
ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin
1210
ENV AUTO_GOPATH 1
1311
ENV DOCKER_BUILDTAGS seccomp selinux
1412
ENV RUNC_BUILDTAGS seccomp selinux
13+
ENV DISTRO fedora
14+
ENV SUITE 31
1515
RUN dnf install -y rpm-build rpmlint dnf-plugins-core
1616
COPY SPECS /root/rpmbuild/SPECS
1717
RUN dnf builddep -y /root/rpmbuild/SPECS/*.spec

0 commit comments

Comments
 (0)