Skip to content

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0der committed Nov 14, 2016
1 parent e5c3643 commit 2d9a959
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 2d9a959

Please sign in to comment.