enable new rift packages
authorJeremy Mordkoff <jeremy.mordkoff@gmail.com>
Tue, 12 Dec 2017 23:37:55 +0000 (18:37 -0500)
committerJeremy Mordkoff <jeremy.mordkoff@gmail.com>
Tue, 12 Dec 2017 23:37:55 +0000 (18:37 -0500)
Signed-off-by: Jeremy Mordkoff <jeremy.mordkoff@gmail.com>
Dockerfile
rift [new file with mode: 0644]
rift.list [new file with mode: 0644]

index 6f18be5..e949e7e 100644 (file)
@@ -1,13 +1,14 @@
 FROM ubuntu:16.04
 
 RUN apt-get update && apt-get -y install python3 curl build-essential apt-transport-https sudo
+COPY rift.list /etc/apt/sources.list.d/rift.list
+COPY rift /etc/apt/preferences.d/rift
 RUN curl http://repos.riftio.com/public/xenial-riftware-public-key | apt-key add - && \
-       curl -o /etc/apt/sources.list.d/rift.list http://buildtracker.riftio.com/repo_file/ub16/OSM3/ && \
        apt-get update && \
        apt-get -y install \
-               rw.tools-container-tools=5.2.0.0.71033 \
-               rw.tools-scripts=5.2.0.0.71033
+               rw.tools-container-tools=5.2.0.3.73627 \
+               rw.tools-scripts=5.2.0.3.73627
 
-RUN /usr/rift/container_tools/mkcontainer --modes SO-dev --repo OSM3 --rw-version 5.2.0.0.71033
+RUN /usr/rift/container_tools/mkcontainer --modes SO-dev --rw-version 5.2.0.3.73627
 
 RUN chmod 777 /usr/rift /usr/rift/usr/share
diff --git a/rift b/rift
new file mode 100644 (file)
index 0000000..50a9c05
--- /dev/null
+++ b/rift
@@ -0,0 +1,3 @@
+Package: *
+Pin: origin repos.riftio.com
+Pin-Priority: 600
diff --git a/rift.list b/rift.list
new file mode 100644 (file)
index 0000000..5c8db25
--- /dev/null
+++ b/rift.list
@@ -0,0 +1 @@
+deb https://artifactory.riftio.com/debian-OSM xenial main