github.com/lazyboychen7/engine@v17.12.1-ce-rc2+incompatible/contrib/builder/rpm/amd64/oraclelinux-6/Dockerfile (about)

     1  #
     2  # THIS FILE IS AUTOGENERATED; SEE "contrib/builder/rpm/amd64/generate.sh"!
     3  #
     4  
     5  FROM oraclelinux:6
     6  
     7  RUN yum install -y yum-utils && curl -o /etc/yum.repos.d/public-yum-ol6.repo http://yum.oracle.com/public-yum-ol6.repo && yum-config-manager -q --enable ol6_UEKR4
     8  RUN yum install -y kernel-uek-devel-4.1.12-32.el6uek
     9  
    10  RUN yum groupinstall -y "Development Tools"
    11  RUN yum install -y btrfs-progs-devel device-mapper-devel glibc-static  libselinux-devel pkgconfig selinux-policy selinux-policy-devel  tar git cmake vim-common
    12  
    13  ENV GO_VERSION 1.9.4
    14  RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
    15  ENV PATH $PATH:/usr/local/go/bin
    16  
    17  ENV AUTO_GOPATH 1
    18  
    19  ENV DOCKER_BUILDTAGS selinux
    20  ENV RUNC_BUILDTAGS selinux
    21  
    22  ENV CGO_CPPFLAGS -D__EXPORTED_HEADERS__ \
    23                   -I/usr/src/kernels/4.1.12-32.el6uek.x86_64/arch/x86/include/generated/uapi \
    24                   -I/usr/src/kernels/4.1.12-32.el6uek.x86_64/arch/x86/include/uapi \
    25                   -I/usr/src/kernels/4.1.12-32.el6uek.x86_64/include/generated/uapi \
    26                   -I/usr/src/kernels/4.1.12-32.el6uek.x86_64/include/uapi \
    27                   -I/usr/src/kernels/4.1.12-32.el6uek.x86_64/include
    28