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

Commit

Permalink
Add DISTRO/SUITE env. variables to the RPM dockerfiles
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Gandolfo Hashioka <roberto_hashioka@hotmail.com>
  • Loading branch information
rogaha committed May 26, 2017
1 parent 3c70b56 commit c4a9e41
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpm/centos-7/Dockerfile.x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ RUN yum install -y \
vim-common

ENV GO_VERSION 1.7.5
ENV DISTRO centos
ENV SUITE 7
RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
RUN mkdir -p /go
ENV GOPATH=/go
Expand Down
2 changes: 2 additions & 0 deletions rpm/fedora-24/Dockerfile.x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ RUN dnf -y upgrade
RUN dnf install -y @development-tools fedora-packager
RUN dnf install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel libtool-ltdl-devel pkgconfig selinux-policy selinux-policy-devel systemd-devel tar git cmake vim-common
ENV GO_VERSION 1.8.1
ENV DISTRO fedora
ENV SUITE 24
RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
ENV PATH $PATH:/usr/local/go/bin
ENV AUTO_GOPATH 1
Expand Down
2 changes: 2 additions & 0 deletions rpm/fedora-25/Dockerfile.x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ RUN dnf -y upgrade
RUN dnf install -y @development-tools fedora-packager
RUN dnf install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel libtool-ltdl-devel pkgconfig selinux-policy selinux-policy-devel systemd-devel tar git cmake vim-common
ENV GO_VERSION 1.8.1
ENV DISTRO fedora
ENV SUITE 25
RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
ENV PATH $PATH:/usr/local/go/bin
ENV AUTO_GOPATH 1
Expand Down

0 comments on commit c4a9e41

Please sign in to comment.