Install sources.list for yakkety
authorvarac <varacanero@zeromail.org>
Wed, 8 Mar 2017 19:50:43 +0000 (20:50 +0100)
committervarac <varacanero@zeromail.org>
Wed, 8 Mar 2017 19:50:43 +0000 (20:50 +0100)
docker/xenial_amd64/Dockerfile
docker/xenial_amd64/files/etc/apt/preferences.d/yakkety [new file with mode: 0644]
docker/xenial_amd64/files/etc/apt/sources.list [new file with mode: 0644]
docker/xenial_amd64/files/etc/apt/sources.list.d/yakkety.list [new file with mode: 0644]

index 6810a81..34d1c29 100644 (file)
@@ -2,6 +2,8 @@ FROM ubuntu:16.04
 
 MAINTAINER LEAP Encryption Access Project <info@leap.se>
 
+COPY files/etc /etc
+
 RUN apt-get update \
   && apt-get install -y --no-install-recommends \
     git \
diff --git a/docker/xenial_amd64/files/etc/apt/preferences.d/yakkety b/docker/xenial_amd64/files/etc/apt/preferences.d/yakkety
new file mode 100644 (file)
index 0000000..46ce76d
--- /dev/null
@@ -0,0 +1,3 @@
+Package: *
+Pin: release o=Ubuntu,n=yakkety
+Pin-Priority: 1
diff --git a/docker/xenial_amd64/files/etc/apt/sources.list b/docker/xenial_amd64/files/etc/apt/sources.list
new file mode 100644 (file)
index 0000000..c0cd28f
--- /dev/null
@@ -0,0 +1,3 @@
+deb http://archive.ubuntu.com/ubuntu/ xenial main
+deb http://archive.ubuntu.com/ubuntu/ xenial-updates main
+deb http://archive.ubuntu.com/ubuntu/ xenial-security main
diff --git a/docker/xenial_amd64/files/etc/apt/sources.list.d/yakkety.list b/docker/xenial_amd64/files/etc/apt/sources.list.d/yakkety.list
new file mode 100644 (file)
index 0000000..6209622
--- /dev/null
@@ -0,0 +1,3 @@
+deb http://archive.ubuntu.com/ubuntu/ yakkety main
+deb http://archive.ubuntu.com/ubuntu/ yakkety-updates main
+deb http://archive.ubuntu.com/ubuntu/ yakkety-security main