aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorOlaf Flebbe <of@oflebbe.de>2016-12-15 21:47:12 +0100
committerOlaf Flebbe <of@oflebbe.de>2016-12-16 14:08:18 +0100
commit2c3055be37049b7a1ffcd7027a82c7499b246ab7 (patch)
tree13cc66360218314f59bd63e62edbfd76d95b7e5a /docker
parenta90c971f022694f716365333ed98267cdfb9e557 (diff)
BIGTOP-2633: Switch to Java 1.8 because of SSL problems
Diffstat (limited to 'docker')
-rw-r--r--docker/bigtop-slaves/debian-8/Dockerfile3
-rw-r--r--docker/bigtop-slaves/ubuntu-14.04/Dockerfile2
-rw-r--r--docker/bigtop-slaves/ubuntu-16.04/Dockerfile2
3 files changed, 4 insertions, 3 deletions
diff --git a/docker/bigtop-slaves/debian-8/Dockerfile b/docker/bigtop-slaves/debian-8/Dockerfile
index 0022c51d..8c4d0ee0 100644
--- a/docker/bigtop-slaves/debian-8/Dockerfile
+++ b/docker/bigtop-slaves/debian-8/Dockerfile
@@ -17,6 +17,7 @@ MAINTAINER oflebbe@apache.org
COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain
-RUN puppet apply -e "include bigtop_toolchain::installer"
+RUN apt-get clean && apt-get update && puppet apply -e "include bigtop_toolchain::installer"
+
COPY . /tmp/bigtop
RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop
diff --git a/docker/bigtop-slaves/ubuntu-14.04/Dockerfile b/docker/bigtop-slaves/ubuntu-14.04/Dockerfile
index 17132c0b..01551423 100644
--- a/docker/bigtop-slaves/ubuntu-14.04/Dockerfile
+++ b/docker/bigtop-slaves/ubuntu-14.04/Dockerfile
@@ -17,6 +17,6 @@ MAINTAINER oflebbe@apache.org
COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain
-RUN puppet apply -e "include bigtop_toolchain::installer"
+RUN apt-get clean && apt-get update && puppet apply -e "include bigtop_toolchain::installer"
COPY . /tmp/bigtop
RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop
diff --git a/docker/bigtop-slaves/ubuntu-16.04/Dockerfile b/docker/bigtop-slaves/ubuntu-16.04/Dockerfile
index 08d1a961..74abcc53 100644
--- a/docker/bigtop-slaves/ubuntu-16.04/Dockerfile
+++ b/docker/bigtop-slaves/ubuntu-16.04/Dockerfile
@@ -17,6 +17,6 @@ MAINTAINER Amir Sanjar
COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain
-RUN puppet apply -e "include bigtop_toolchain::installer"
+RUN apt-get clean && apt-get update && puppet apply -e "include bigtop_toolchain::installer"
COPY . /tmp/bigtop
RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop