MetaCell / java-virgo-maven

Repo that hosts a dockerfile with Java, Eclipse Virgo and Maven preinstalled
0 stars 1 forks source link

Move from java to openjdk docker base image #1

Open tarelli opened 5 years ago

tarelli commented 5 years ago

https://hub.docker.com/_/java https://hub.docker.com/_/openjdk/

tarelli commented 5 years ago

@rodriguez-facundo There might be dragons here, maybe better to decouple it from the release and just apply the same fix I applied to the current geppetto docker which worked. The fixes can be summarised as:

USER root

COPY sources.list /etc/apt/sources.list
RUN rm /etc/apt/sources.list.d/jessie-backports.list

RUN apt-get -o Acquire::Check-Valid-Until=false update && apt-get install -qq -y sudo xvfb  

where the change on the last line needs to painfully happen on each apt-get RUN command in every docker file that does need to run apt-get.

The sources.list file is here https://github.com/openworm/org.geppetto/blob/development/utilities/docker/geppetto/sources.list