Upgraded Docker base image from deprecated java to openjdk.

pull/93/merge
luccioman 8 years ago
parent b23a563065
commit 9da75ac76d

@ -1,7 +1,7 @@
# Build a docker image from latest YaCy sources
# Base image : latest stable official jdk image from Docker (Debian based)
FROM java:latest
FROM openjdk:latest
# Install needed packages not in base image
RUN apt-get update && apt-get install -yq curl

@ -1,7 +1,7 @@
# Build a docker image from latest YaCy sources on Alpine Linux
# Base image : latest stable official jdk image from Docker based on Alpine Linux
FROM java:alpine
FROM openjdk:alpine
# trace java version
RUN java -version

Loading…
Cancel
Save