Skip to content

Commit 333f59e

Browse files
authored
Merge pull request #21 from cesc1989/master
Java 8 instructions and Jenkins instructions
2 parents f3659f9 + 08ab166 commit 333f59e

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ For:
3232
Basic software(mostly for Ruby on Rails apps)
3333

3434
- [ImageMagick](https://en.wikipedia.org/wiki/ImageMagick)
35+
- Java 8
3536
- [Jenkins](https://jenkins.io)
3637
- [Let's Encrypt](https://letsencrypt.org/)
3738
- Library Essentials

dependencies/install_java8.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
# Java8 doesn't have an official PPA so it needs to be installed from a third party.
4+
# See Ask Ubuntu about it: https://askubuntu.com/a/944260/167553
5+
6+
# Commands taken from http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
7+
8+
add-apt-repository -y ppa:webupd8team/java
9+
apt-get update
10+
apt-get -y install oracle-java8-installer

dependencies/install_jenkins.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add -
3+
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
44
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
55
sudo apt-get update
66
sudo apt-get -y install jenkins

0 commit comments

Comments
 (0)