github.com/lazyboychen7/engine@v17.12.1-ce-rc2+incompatible/contrib/builder/rpm/s390x/opensuse-tumbleweed-1/Dockerfile (about)

     1  #
     2  # THIS FILE IS AUTOGENERATED; SEE "contrib/builder/rpm/s390x/generate.sh"!
     3  #
     4  
     5  FROM opensuse/s390x:tumbleweed
     6  
     7  
     8  RUN zypper ar https://download.opensuse.org/ports/zsystems/tumbleweed/repo/oss/ tumbleweed
     9  RUN zypper --non-interactive install ca-certificates* curl gzip rpm-build
    10  RUN zypper --non-interactive install libbtrfs-devel device-mapper-devel glibc-static  libselinux-devel pkg-config selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git cmake vim systemd-rpm-macros
    11  
    12  ENV GO_VERSION 1.9.4
    13  RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-s390x.tar.gz" | tar xzC /usr/local
    14  ENV PATH $PATH:/usr/local/go/bin
    15  
    16  ENV AUTO_GOPATH 1
    17  
    18  ENV DOCKER_BUILDTAGS selinux
    19  ENV RUNC_BUILDTAGS selinux
    20  RUN ln -s /usr/bin/gcc /usr/bin/s390x-linux-gnu-gcc