mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
3e0bd74a3d
To not hit the issue with the request Host header. Signed-off-by: David Calavera <david.calavera@gmail.com>
19 lines
668 B
Docker
19 lines
668 B
Docker
#
|
|
# THIS FILE IS AUTOGENERATED; SEE "contrib/builder/rpm/amd64/generate.sh"!
|
|
#
|
|
|
|
FROM centos:7
|
|
|
|
RUN yum groupinstall -y "Development Tools"
|
|
RUN yum -y swap -- remove systemd-container systemd-container-libs -- install systemd systemd-libs
|
|
RUN yum install -y btrfs-progs-devel device-mapper-devel glibc-static libselinux-devel libtool-ltdl-devel pkgconfig selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git
|
|
|
|
ENV GO_VERSION 1.5.3
|
|
RUN curl -fSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
|
|
ENV PATH $PATH:/usr/local/go/bin
|
|
|
|
ENV AUTO_GOPATH 1
|
|
|
|
ENV DOCKER_BUILDTAGS selinux
|
|
ENV RUNC_BUILDTAGS selinux
|
|
|