mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
98180b8954
Ubuntu Precise has a number of warts that made it non-trivial to add initially, but I've managed to work through some of them and come up with a working build. Two important parts to note are that it has neither the `btrfs` nor the `devicemapper` graphdriver backends since `btrfs-tools` and `libdevmapper-dev` in the precise repositories are too ancient for them to even compile. Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
14 lines
585 B
Docker
14 lines
585 B
Docker
#
|
|
# THIS FILE IS AUTOGENERATED; SEE "contrib/builder/deb/generate.sh"!
|
|
#
|
|
|
|
FROM ubuntu-debootstrap:precise
|
|
|
|
RUN apt-get update && apt-get install -y bash-completion build-essential curl ca-certificates debhelper git libapparmor-dev libsqlite3-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
|
|
|
|
ENV GO_VERSION 1.4.2
|
|
RUN curl -fSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
|
|
ENV PATH $PATH:/usr/local/go/bin
|
|
|
|
ENV AUTO_GOPATH 1
|
|
ENV DOCKER_BUILDTAGS apparmor selinux exclude_graphdriver_devicemapper exclude_graphdriver_btrfs
|