diff options
author | Sascha Grunert <sgrunert@suse.com> | 2019-04-03 10:17:31 +0200 |
---|---|---|
committer | Sascha Grunert <sgrunert@suse.com> | 2019-04-04 08:46:36 +0200 |
commit | 6f928057b44bd00b7a37c61a014007c9c57e7866 (patch) | |
tree | 4b8b7b9aada93e3dffa47200f22a1f3642c68fb9 | |
parent | 4bda5378b1434951dbbdf1b6101d662cbf708098 (diff) | |
download | podman-6f928057b44bd00b7a37c61a014007c9c57e7866.tar.gz podman-6f928057b44bd00b7a37c61a014007c9c57e7866.tar.bz2 podman-6f928057b44bd00b7a37c61a014007c9c57e7866.zip |
Update Dockerfile to use golang:1.12 image
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
-rw-r--r-- | Dockerfile | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/Dockerfile b/Dockerfile index 6d44b963f..e0da63ac3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,4 @@ -FROM golang:1.11 - -RUN echo 'deb http://httpredir.debian.org/debian jessie-backports main' > /etc/apt/sources.list.d/backports.list +FROM golang:1.12 RUN apt-get update && apt-get install -y \ apparmor \ @@ -23,6 +21,8 @@ RUN apt-get update && apt-get install -y \ libostree-dev \ libprotobuf-dev \ libprotobuf-c0-dev \ + libseccomp2 \ + libseccomp-dev \ libtool \ libudev-dev \ protobuf-c-compiler \ @@ -41,17 +41,6 @@ RUN apt-get update && apt-get install -y \ --no-install-recommends \ && apt-get clean -ENV LIBSECCOMP_COMMIT release-2.3 -RUN set -x \ - && git clone https://github.com/seccomp/libseccomp "$GOPATH/src/github.com/seccomp/libseccomp" \ - && cd "$GOPATH/src/github.com/seccomp/libseccomp" \ - && git fetch origin --tags \ - && git checkout -q "$LIBSECCOMP_COMMIT" \ - && ./autogen.sh \ - && ./configure --prefix=/usr \ - && make all \ - && make install - # Install runc ENV RUNC_COMMIT 96ec2177ae841256168fcf76954f7177af9446eb RUN set -x \ |