mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
![Sebastiaan van Stijn](/assets/img/avatar_default.png)
Bumps the Go version used to 1.8.4, which contains security fixes; https://groups.google.com/forum/#!topic/golang-announce/1hZYiemnkdE Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
20 lines
789 B
Docker
20 lines
789 B
Docker
#
|
|
# THIS FILE IS AUTOGENERATED; SEE "contrib/builder/rpm/s390x/generate.sh"!
|
|
#
|
|
|
|
FROM opensuse/s390x:tumbleweed
|
|
|
|
|
|
RUN zypper ar https://download.opensuse.org/ports/zsystems/tumbleweed/repo/oss/ tumbleweed
|
|
RUN zypper --non-interactive install ca-certificates* curl gzip rpm-build
|
|
RUN zypper --non-interactive install libbtrfs-devel device-mapper-devel glibc-static libselinux-devel libtool-ltdl-devel pkg-config selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git cmake vim systemd-rpm-macros
|
|
|
|
ENV GO_VERSION 1.8.4
|
|
RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-s390x.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
|
|
RUN ln -s /usr/bin/gcc /usr/bin/s390x-linux-gnu-gcc
|