2015-04-03 03:38:46 -04:00
|
|
|
#
|
2015-11-23 14:00:43 -05:00
|
|
|
# THIS FILE IS AUTOGENERATED; SEE "contrib/builder/deb/amd64/generate.sh"!
|
2015-04-03 03:38:46 -04:00
|
|
|
#
|
|
|
|
|
|
|
|
FROM debian:jessie
|
|
|
|
|
2016-10-20 23:34:26 -04:00
|
|
|
# allow replacing httpredir or deb mirror
|
|
|
|
ARG APT_MIRROR=deb.debian.org
|
|
|
|
RUN sed -ri "s/(httpredir|deb).debian.org/$APT_MIRROR/g" /etc/apt/sources.list
|
2016-04-27 13:56:34 -04:00
|
|
|
|
2016-01-22 18:18:50 -05:00
|
|
|
RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libsqlite3-dev pkg-config libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
|
2015-04-03 03:38:46 -04:00
|
|
|
|
2016-10-19 15:58:44 -04:00
|
|
|
ENV GO_VERSION 1.7.3
|
2016-11-04 10:03:41 -04:00
|
|
|
RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
|
2015-04-03 03:38:46 -04:00
|
|
|
ENV PATH $PATH:/usr/local/go/bin
|
|
|
|
|
|
|
|
ENV AUTO_GOPATH 1
|
2015-11-14 21:02:08 -05:00
|
|
|
|
2016-04-13 20:55:50 -04:00
|
|
|
ENV DOCKER_BUILDTAGS apparmor pkcs11 selinux
|
2016-03-21 20:37:31 -04:00
|
|
|
ENV RUNC_BUILDTAGS apparmor selinux
|