github.com/OpenFlowLabs/moby@v17.12.1-ce-rc2+incompatible/contrib/builder/deb/amd64/debian-wheezy/Dockerfile (about) 1 # 2 # THIS FILE IS AUTOGENERATED; SEE "contrib/builder/deb/amd64/generate.sh"! 3 # 4 5 FROM debian:wheezy-backports 6 7 # allow replacing httpredir or deb mirror 8 ARG APT_MIRROR=deb.debian.org 9 RUN sed -ri "s/(httpredir|deb).debian.org/$APT_MIRROR/g" /etc/apt/sources.list 10 RUN sed -ri "s/(httpredir|deb).debian.org/$APT_MIRROR/g" /etc/apt/sources.list.d/backports.list 11 12 RUN apt-get update && apt-get install -y -t wheezy-backports btrfs-tools --no-install-recommends && rm -rf /var/lib/apt/lists/* 13 RUN apt-get update && apt-get install -y apparmor bash-completion build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev pkg-config vim-common --no-install-recommends && rm -rf /var/lib/apt/lists/* 14 15 ENV GO_VERSION 1.9.4 16 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local 17 ENV PATH $PATH:/usr/local/go/bin 18 19 ENV AUTO_GOPATH 1 20 21 ENV DOCKER_BUILDTAGS apparmor selinux 22 ENV RUNC_BUILDTAGS apparmor selinux