diff --git a/d4science-storage/Dockerfile b/d4science-storage/Dockerfile index 3453349b..6ec61956 100644 --- a/d4science-storage/Dockerfile +++ b/d4science-storage/Dockerfile @@ -1,16 +1,17 @@ -FROM openjdk:8 +FROM eclipse-temurin:17 RUN apt-get update \ && apt-get install -y --no-install-recommends libfuse2 fuse \ && rm -rf /var/lib/apt/lists/* -ARG FUSE_JAR=https://nexus.d4science.org/nexus/content/repositories/gcube-snapshots/org/gcube/data-access/sh-fuse-integration/1.2.0-SNAPSHOT/sh-fuse-integration-1.2.0-20210708.160531-5-jar-with-dependencies.jar +ARG FUSE_JAR=https://maven.d4science.org/nexus/content/repositories/gcube-staging-jenkins/org/gcube/data-access/sh-fuse-integration/2.1.0/sh-fuse-integration-2.1.0-jar-with-dependencies.jar RUN curl $FUSE_JAR > /sh-fuse-integration-jar-with-dependencies.jar COPY mount.sh /mount.sh -RUN useradd -u 1000 -g 100 jovyan +RUN groupadd -o -g 100 jovyan \ + && useradd -o -u 1000 -g 100 jovyan USER jovyan