You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by om...@apache.org on 2019/06/21 19:53:09 UTC

[orc] 02/02: ORC-511: Fix debian 8 docker file

This is an automated email from the ASF dual-hosted git repository.

omalley pushed a commit to branch branch-1.5
in repository https://gitbox.apache.org/repos/asf/orc.git

commit d544ebad77d53728e5b05ea63bd2574442598424
Author: Owen O'Malley <om...@apache.org>
AuthorDate: Wed May 29 13:46:57 2019 -0700

    ORC-511: Fix debian 8 docker file
    
    Signed-off-by: Owen O'Malley <om...@apache.org>
---
 docker/debian8/Dockerfile   | 4 ++--
 docker/debian8/apt.conf     | 1 +
 docker/debian8/sources.list | 7 +++++++
 3 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/docker/debian8/Dockerfile b/docker/debian8/Dockerfile
index ab8d4c7..24145ba 100644
--- a/docker/debian8/Dockerfile
+++ b/docker/debian8/Dockerfile
@@ -20,8 +20,7 @@
 FROM debian:8
 MAINTAINER Owen O'Malley <ow...@hortonworks.com>
 
-RUN echo "deb http://ftp.debian.org/debian jessie-backports main" \
-  >> /etc/apt/sources.list
+ADD sources.list apt.conf /etc/apt/
 
 RUN apt-get update
 RUN apt-get install -y \
@@ -37,6 +36,7 @@ RUN apt-get install -y \
   maven \
   pkg-config \
   wget
+
 RUN apt-get -t jessie-backports install -y openjdk-8-jdk
 RUN update-alternatives --set java \
   /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
diff --git a/docker/debian8/apt.conf b/docker/debian8/apt.conf
new file mode 100644
index 0000000..019d783
--- /dev/null
+++ b/docker/debian8/apt.conf
@@ -0,0 +1 @@
+Acquire::Check-Valid-Until "false";
\ No newline at end of file
diff --git a/docker/debian8/sources.list b/docker/debian8/sources.list
new file mode 100644
index 0000000..735d7c8
--- /dev/null
+++ b/docker/debian8/sources.list
@@ -0,0 +1,7 @@
+deb http://deb.debian.org/debian/ jessie main contrib non-free
+deb-src http://deb.debian.org/debian/ jessie main contrib non-free
+
+deb http://security.debian.org/ jessie/updates main contrib non-free
+deb-src http://security.debian.org/ jessie/updates main contrib non-free
+
+deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main