Commit f5fb3d57 authored by NzSN's avatar NzSN

only pull image if needed

parent 7e3fd4a8
...@@ -3,8 +3,10 @@ ...@@ -3,8 +3,10 @@
set -euo pipefail set -euo pipefail
EM_VERSION=2.0.24 EM_VERSION=2.0.24
if [[ "$(docker images -q emscripten/emsdk:$EM_VERSION 2> /dev/null)" == "" ]]; then
docker pull emscripten/emsdk:$EM_VERSION
fi
docker pull emscripten/emsdk:$EM_VERSION
docker run \ docker run \
--rm \ --rm \
-v $PWD:/src \ -v $PWD:/src \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment