Skip to content

Commit

Permalink
use full path to syntran in rocky docker
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffIrwin committed Nov 16, 2024
1 parent b763a0c commit 0086fb2
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,17 +271,20 @@
"
docker --version \n
docker build . --file Dockerfile.rocky -t sy \n
docker run --entrypoint syntran sy --version \n
docker run sy --version # syntran is already the default entrypoint \n
docker run sy -c \"1 + 2;\" \n
ans=$(docker run sy -c \"1 + 2;\") \n
if [[ \"$ans\" == \" ans = \\`3\\`\" ]] ; then \n
echo \"win\" \n
exit 0 \n
else \n
echo \"fail\" \n
exit 1 \n
fi \n

#docker run --entrypoint syntran sy --version \n
docker run --entrypoint /workdir/bin/syntran sy --version \n

#docker run sy --version # syntran is already the default entrypoint \n
#docker run sy -c \"1 + 2;\" \n
#ans=$(docker run sy -c \"1 + 2;\") \n
#if [[ \"$ans\" == \" ans = \\`3\\`\" ]] ; then \n
# echo \"win\" \n
# exit 0 \n
#else \n
# echo \"fail\" \n
# exit 1 \n
#fi \n
"
},
]
Expand Down

0 comments on commit 0086fb2

Please sign in to comment.