Skip to content

Commit

Permalink
try rocker_scripts at /
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes authored Oct 8, 2024
1 parent c4bdda9 commit 743e43a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rocker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ R_VERSION="4.4.1"
cd ${REPO_DIR}
wget https://github.com/rocker-org/rocker-versioned2/archive/refs/tags/R${R_VERSION}.tar.gz
tar zxvf R${R_VERSION}.tar.gz && \
mv rocker-versioned2-R${R_VERSION}/scripts rocker_scripts && \
mv rocker-versioned2-R${R_VERSION}/dockerfiles/verse_${R_VERSION}.Dockerfile rocker_scripts/verse_${R_VERSION}.Dockerfile && \
mv rocker-versioned2-R${R_VERSION}/scripts /rocker_scripts && \
mv rocker-versioned2-R${R_VERSION}/dockerfiles/verse_${R_VERSION}.Dockerfile /rocker_scripts/verse_${R_VERSION}.Dockerfile && \
rm R${R_VERSION}.tar.gz && \
rm -rf rocker-versioned2-R${R_VERSION}

Expand All @@ -27,6 +27,6 @@ while IFS= read -r line; do
cmd=$(echo "$line" | sed 's/^RUN //g')
full_cmd="${REPO_DIR}${cmd}"
echo "Executing: $full_cmd"
eval "$full_cmd"
eval "$cmd"
fi
done < rocker_scripts/verse_${R_VERSION}.Dockerfile

0 comments on commit 743e43a

Please sign in to comment.