github.com/iaintshine/docker@v1.8.2/contrib/builder/rpm/centos-7/Dockerfile (about) 1 # 2 # THIS FILE IS AUTOGENERATED; SEE "contrib/builder/rpm/generate.sh"! 3 # 4 5 FROM centos:7 6 7 RUN yum groupinstall -y "Development Tools" 8 RUN yum -y swap -- remove systemd-container systemd-container-libs -- install systemd systemd-libs 9 RUN yum install -y btrfs-progs-devel device-mapper-devel glibc-static libselinux-devel sqlite-devel tar 10 11 ENV GO_VERSION 1.4.2 12 RUN curl -fSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local 13 ENV PATH $PATH:/usr/local/go/bin 14 15 ENV AUTO_GOPATH 1 16 ENV DOCKER_BUILDTAGS selinux