moved the java installation into a separate script for visibility and added the conf necessary for R for when necessary
added libbz2-dev which is necessary for compiling with jdk for certain R packages like RJDemetra and rJava
NB:
To dev this job, since at this time all scripts are copied during the build of the base image, I temporary added this bit in the concerned dockerfiles :
# temporary to POC instal-java.sh
COPY scripts/ /opt/
RUN chmod -R +x /opt/
Changes:
libbz2-dev
which is necessary for compiling with jdk for certain R packages likeRJDemetra
andrJava
NB:
To dev this job, since at this time all scripts are copied during the build of the base image, I temporary added this bit in the concerned dockerfiles :
and it worked ✅ (see this github action) then I took it back off;
voir screen de la github action
![image](https://github.com/InseeFrLab/images-datascience/assets/55583423/880cc8c1-13f4-4227-85ba-de233dc4bb4f)