Skip to content
This repository has been archived by the owner on Apr 23, 2022. It is now read-only.

Commit

Permalink
add path to java bin
Browse files Browse the repository at this point in the history
  • Loading branch information
yangkookkim committed Dec 30, 2015
1 parent d648578 commit 696b6cd
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ RUN circleci-install firefox
ADD circleci-provision-scripts/chrome.sh /opt/circleci-provision-scripts/chrome.sh
RUN circleci-install chrome

ADD circleci-provision-scripts/phantomjs.sh /opt/circleci-provision-scripts/phantomjs.sh
RUN circleci-install phantomjs

# Android
ADD scripts/circle-android /usr/local/bin/circle-android
ADD circleci-provision-scripts/android-sdk.sh /opt/circleci-provision-scripts/android-sdk.sh
Expand Down
Empty file modified circleci-provision-scripts/clojure.sh
100644 → 100755
Empty file.
2 changes: 2 additions & 0 deletions circleci-provision-scripts/java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ function install_oraclejdk8() {
update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.8.0/bin/javac" 1
update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.8.0/bin/javaws" 1

echo 'export PATH=/usr/lib/jvm/jdk1.8.0/bin:$PATH' >> ${CIRCLECI_HOME}/.circlerc

popd

rm -rf $JAVA_TMP
Expand Down
9 changes: 9 additions & 0 deletions circleci-provision-scripts/phantomjs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

function install_phantomjs() {
echo '>>> Installing PhantomJS'

curl --output /home/ubuntu/bin/phantomjs-2.0.1-linux-x86_64-dynamic https://s3.amazonaws.com/circle-support-bucket/phantomjs/phantomjs-2.0.1-linux-x86_64-dynamic
chmod a+x /home/ubuntu/bin/phantomjs-2.0.1-linux-x86_64-dynamic
sudo ln -s --force /home/ubuntu/bin/phantomjs-2.0.1-linux-x86_64-dynamic /usr/local/bin/phantomjs
}

0 comments on commit 696b6cd

Please sign in to comment.