Skip to content

Commit

Permalink
Update jar library (#222)
Browse files Browse the repository at this point in the history
* Update jar library

* Reuse existing user

* Better manage user

* Fix command
  • Loading branch information
enolfc authored Nov 28, 2024
1 parent d822021 commit d50258d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions d4science-storage/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit d50258d

Please sign in to comment.