Permalink
Browse files

Upgraded Docker base image from deprecated java to openjdk.

  • Loading branch information...
luccioman committed Aug 15, 2017
1 parent b23a563 commit 9da75ac76d7886a1a3a807746394e0b5aadb06ca
Showing with 2 additions and 2 deletions.
  1. +1 −1 docker/Dockerfile
  2. +1 −1 docker/Dockerfile.alpine
@@ -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

0 comments on commit 9da75ac

Please sign in to comment.