From 2d9a9599e96af7e668b915f9445490767e6ac47c Mon Sep 17 00:00:00 2001 From: Marco Vermeulen Date: Mon, 14 Nov 2016 21:14:48 +0000 Subject: [PATCH] Fix build. --- .travis.yml | 1 - Dockerfile | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9bd627f69..6bba7f061 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,6 @@ services: - docker install: true script: - - sudo apt-get update && sudo apt-get -y install zip - docker build --tag=sdkman/sdkman-cli . - docker run --rm -v $PWD:/usr/src/app -v $HOME/.gradle:/root/.gradle sdkman/sdkman-cli clean test -Dscan --info after_success: diff --git a/Dockerfile b/Dockerfile index e0ade5e80..6302fb9cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,8 @@ FROM java:8 +RUN apt-get update && \ + apt-get -y install zip + # Copy all here RUN mkdir -p /usr/src/app ADD . /usr/src/app