Skip to content

Commit

Permalink
Update the fuse integration jar (#225)
Browse files Browse the repository at this point in the history
* Update the fuse integration jar

* Do I hate the linter?
  • Loading branch information
enolfc authored Nov 29, 2024
1 parent aae44f5 commit 7a6b31b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions d4science-storage/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM eclipse-temurin:17
FROM eclipse-temurin:11

RUN apt-get update \
&& apt-get install -y --no-install-recommends libfuse2 fuse \
&& rm -rf /var/lib/apt/lists/*

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
ARG FUSE_JAR=https://nexus.d4science.org/nexus/content/repositories/gcube-snapshots/org/gcube/data-access/sh-fuse-integration/3.0.0-SNAPSHOT/sh-fuse-integration-3.0.0-20241129.111221-1.jar

RUN curl $FUSE_JAR > /sh-fuse-integration-jar-with-dependencies.jar

Expand Down
3 changes: 1 addition & 2 deletions d4science-storage/mount.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/bash

FUSE_JAR="/sh-fuse-integration-jar-with-dependencies.jar"
CONTEXT="/d4science.research-infrastructures.eu"

echo "Mounting filesystem at $MNTPATH"

java -jar "$FUSE_JAR" "$D4SCIENCE_TOKEN" "$CONTEXT" "$MNTPATH"
java -jar "$FUSE_JAR" "$D4SCIENCE_TOKEN" "$MNTPATH"

0 comments on commit 7a6b31b

Please sign in to comment.