Skip to content

Commit 7eb9551

Browse files
authored
Merge pull request #2 from Duhemm/install-hugo
Install hugo
2 parents d26f703 + c90e1c1 commit 7eb9551

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Dockerfile

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM frolvlad/alpine-glibc:alpine-3.4
1+
FROM frolvlad/alpine-glibc:alpine-3.7
22

33
# Set environment
44
ENV JAVA_HOME /usr/lib/jvm/jdk8
@@ -10,10 +10,10 @@ RUN apk add --no-cache --virtual=build-dependencies wget ca-certificates \
1010
WORKDIR /usr/lib/jvm
1111

1212
# Install JDK8 as the default JDK
13-
RUN wget --no-check-certificate -c --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz -O - | gunzip | tar x \
13+
RUN wget --no-check-certificate -c --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u162-b12/0da788060d494f5095bf8624735fa2f1/jdk-8u162-linux-x64.tar.gz -O - | gunzip | tar x \
1414
&& ls \
15-
&& test -e /usr/lib/jvm/jdk1.8.0_151 \
16-
&& ln -s /usr/lib/jvm/jdk1.8.0_151 /usr/lib/jvm/jdk8
15+
&& test -e /usr/lib/jvm/jdk1.8.0_162 \
16+
&& ln -s /usr/lib/jvm/jdk1.8.0_162 /usr/lib/jvm/jdk8
1717

1818
# Install JDK7 as an optional JDK
1919
RUN wget http://ftp.osuosl.org/pub/funtoo/distfiles/oracle-java/jdk-7u80-linux-x64.tar.gz -O - | gunzip | tar x \
@@ -22,10 +22,10 @@ RUN wget http://ftp.osuosl.org/pub/funtoo/distfiles/oracle-java/jdk-7u80-linux-x
2222
&& ln -s /usr/lib/jvm/jdk1.7.0_80 /usr/lib/jvm/jdk7
2323

2424
# Install JDK9 as an optional JDK
25-
RUN wget -c --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz -O - | gunzip | tar x \
25+
RUN wget -c --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f959763f/jdk-9.0.4_linux-x64_bin.tar.gz -O - | gunzip | tar x \
2626
&& ls \
27-
&& test -e /usr/lib/jvm/jdk-9.0.1 \
28-
&& ln -s /usr/lib/jvm/jdk-9.0.1 /usr/lib/jvm/jdk9
27+
&& test -e /usr/lib/jvm/jdk-9.0.4 \
28+
&& ln -s /usr/lib/jvm/jdk-9.0.4 /usr/lib/jvm/jdk9
2929

3030
WORKDIR /
3131

@@ -42,6 +42,7 @@ RUN apk add --no-cache jq
4242
RUN apk add --no-cache ruby
4343
RUN apk add --no-cache ruby-bundler ruby-dev ruby-irb ruby-rdoc libatomic readline readline-dev \
4444
libxml2 libxml2-dev libxslt libxslt-dev zlib-dev zlib libffi-dev build-base nodejs
45+
RUN apk add --no-cache hugo
4546

4647
# Install jekyll and sass just in case they are required
4748
RUN export PATH="/root/.rbenv/bin:$PATH"

0 commit comments

Comments
 (0)