diff --git a/Dockerfile b/Dockerfile index f012d0e..714eff3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM harbor.d4science.org/external-services/ckan-legacy-269:latest LABEL org.d4science.image.licenses="EUPL-1.2" \ - org.d4science.image.source="https://code-repo.d4science.org/D4Science/ckan-2-6-legacy/src/branch/ckan-2-6-bluecloud" \ + org.d4science.image.source="https://code-repo.d4science.org/D4Science/ckan-2-6-bluecloud" \ org.d4science.image.vendor="D4Science " \ org.d4science.image.authors="Francesco Mangiacrapa " @@ -27,7 +27,7 @@ ARG E_USR_LOCAL_BIN=${USR_LOCAL_BIN} ARG E_SRV_CUSTOMIZATIONS=${SRV_CUSTOMIZATIONS} # Installa il client git (necessario solo se non è già presente nell'immagine base) -# rm -rf /var/lib/apt/lists/* pulisce la cache di apt, riducendo la dimensione dell'immagine finale. +# rm -rf /var/lib/apt/lists/* pulisce la cache di apt, riducendo la dimensione dell’immagine finale. RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* # cleanup @@ -46,7 +46,7 @@ RUN mkdir $E_SRV_CUSTOMIZATIONS/scripts COPY conf/file_installer.sh $E_SRV_CUSTOMIZATIONS/scripts/ RUN chmod +x $E_SRV_CUSTOMIZATIONS/scripts/file_installer.sh RUN chown -R ckan:ckan $E_SRV_CUSTOMIZATIONS/ - -ENTRYPOINT ["/srv/ckan_customisations/scripts/file_installer.sh"] +# Applica le customizzazione tramite il file_installer.sh +RUN $E_SRV_CUSTOMIZATIONS/scripts/file_installer.sh CMD ["/usr/bin/supervisord", "-n"] \ No newline at end of file