github.com/olljanat/moby@v1.13.1/contrib/builder/deb/aarch64/ubuntu-trusty/Dockerfile (about)

     1  #
     2  # THIS FILE IS AUTOGENERATED; SEE "contrib/builder/deb/aarch64/generate.sh"!
     3  #
     4  
     5  FROM aarch64/ubuntu:trusty
     6  
     7  RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libsqlite3-dev pkg-config vim-common libsystemd-journal-dev golang-1.6-go --no-install-recommends && rm -rf /var/lib/apt/lists/*
     8  
     9  RUN update-alternatives --install /usr/bin/go go /usr/lib/go-1.6/bin/go 100
    10  
    11  # Install Go
    12  # aarch64 doesn't have official go binaries, so use the version of go installed from
    13  # the image to build go from source.
    14  ENV GO_VERSION 1.7.5
    15  RUN mkdir /usr/src/go && curl -fsSL https://golang.org/dl/go${GO_VERSION}.src.tar.gz | tar -v -C /usr/src/go -xz --strip-components=1 \
    16  	&& cd /usr/src/go/src \
    17  	&& GOOS=linux GOARCH=arm64 GOROOT_BOOTSTRAP="$(go env GOROOT)" ./make.bash
    18  
    19  ENV PATH $PATH:/usr/src/go/bin
    20  
    21  ENV AUTO_GOPATH 1
    22  
    23  ENV DOCKER_BUILDTAGS apparmor pkcs11 selinux
    24  ENV RUNC_BUILDTAGS apparmor selinux