Skip to content

Commit

Permalink
Merge pull request #375 from camarasu/udockerVersionQuickFix
Browse files Browse the repository at this point in the history
Udocker version quick fix
  • Loading branch information
axlbonnet authored Sep 14, 2022
2 parents 863140a + cbbab81 commit d0176bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ knowledge of the CeCILL-B license and that you accept its terms.
<properties>
<!-- project version. Only to change it here (and in CoreConstants.java
Follow this practice : https://maven.apache.org/maven-ci-friendly.html-->
<revision>2.3</revision>
<revision>2.3.1</revision>
<changelist></changelist>
<sha1/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
public class CoreConstants implements IsSerializable {


public static final String VERSION = "v2.3";
public static final String VERSION = "v2.3.1";
// Configuration Labels
public static final String VO_NAME = "vo.name";
public static final String VO_ROOT = "vo.root";
Expand Down
7 changes: 3 additions & 4 deletions vip-portal/src/main/resources/vm/wrapper.vm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ function error {

function download_udocker {
#installation of udocker
git clone --depth=1 https://github.com/indigo-dc/udocker.git
info "cloning udocker ${UDOCKER_TAG} "
git clone --depth=1 --branch ${UDOCKER_TAG} https://github.com/indigo-dc/udocker.git
(cd udocker/udocker; ln -s maincmd.py udocker)
export PATH=`pwd`/udocker/udocker:$PATH

Expand All @@ -38,9 +39,7 @@ function download_udocker {
cat >docker <<'EOF'
#!/bin/bash
MYARGS=$*
echo "my args are: " $MYARGS
#MYARGS=${MYARGS/"--entrypoint=/bin/sh"}
#echo "my latest args are: " $MYARGS
echo "executing ./udocker/udocker/udocker $MYARGS"
./udocker/udocker/udocker $MYARGS
EOF
chmod a+x docker
Expand Down

0 comments on commit d0176bb

Please sign in to comment.