Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit ffd08c2

Browse files
zelahiTibor Vass
authored andcommitted
Re-order common env variables
Signed-off-by: Zuhayr Elahi <elahi.zuhayr@gmail.com> (cherry picked from commit c1a42f9) Signed-off-by: Guillaume Lours <guillaume.lours@docker.com> Upstream-commit: 91e273a892db06e195b0e66a4446b7b9830306b1 Component: packaging
1 parent 5ad3707 commit ffd08c2

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

components/packaging/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

components/packaging/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

components/packaging/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

components/packaging/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)