diff --git a/capi-pack-builder/Dockerfile b/capi-pack-builder/Dockerfile new file mode 100644 index 0000000..342e868 --- /dev/null +++ b/capi-pack-builder/Dockerfile @@ -0,0 +1,26 @@ +FROM ubuntu:xenial + +RUN apt-get update +RUN apt-get install -y --no-install-recommends \ + apt-transport-https \ + ca-certificates \ + curl \ + dnsutils \ + git \ + iproute2 \ + openssh-client \ + software-properties-common \ + libpq-dev + +RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - +RUN apt-key fingerprint | grep 'Key fingerprint = 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88' +RUN add-apt-repository "deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" +RUN apt-get update +RUN apt-get install -y --no-install-recommends docker-ce + +RUN rm -rf /var/lib/apt/lists/* + +RUN curl -LO https://github.com/buildpacks/pack/releases/download/v0.10.0/pack-v0.10.0-linux.tgz +RUN tar xvf pack-v0.10.0-linux.tgz +RUN mv pack /usr/local/bin/pack +RUN rm pack-v0.10.0-linux.tgz