Loading run.ps1 +2 −2 Original line number Diff line number Diff line Loading @@ -37,11 +37,11 @@ $hash = $hash.ToLower(); # create a container if ($debug) { $container = (docker create -it --network none ` -e WIDTH=$width -e HEIGHT=$height -e DEBUG=true hash /hash.sh $hash) -e WIDTH=$width -e HEIGHT=$height -e DEBUG=true cafstep/hash:latest /hash.sh $hash) } else { $container = (docker create -it --network none ` -e WIDTH=$width -e HEIGHT=$height hash /hash.sh $hash) -e WIDTH=$width -e HEIGHT=$height cafstep/hash:latest /hash.sh $hash) } if (-Not($?)) { Write-Host "Failed to create a Docker container." Loading run.sh +2 −2 Original line number Diff line number Diff line Loading @@ -39,10 +39,10 @@ HEIGHT=${HEIGHT=-4960} if [ -n $DEBUG ]; then CONTAINER=$(docker create -it --network none \ -e WIDTH=$WIDTH -e HEIGHT=$HEIGHT -e DEBUG=true cafstep/hash:v0.1.0 /hash.sh $HASH) -e WIDTH=$WIDTH -e HEIGHT=$HEIGHT -e DEBUG=true cafstep/hash:latest /hash.sh $HASH) else CONTAINER=$(docker create -it --network none \ -e WIDTH=$WIDTH -e HEIGHT=$HEIGHT cafstep/hash:v0.1.0 /hash.sh $HASH) -e WIDTH=$WIDTH -e HEIGHT=$HEIGHT cafstep/hash:latest /hash.sh $HASH) fi if [ $? -ne 0 ]; then Loading Loading
run.ps1 +2 −2 Original line number Diff line number Diff line Loading @@ -37,11 +37,11 @@ $hash = $hash.ToLower(); # create a container if ($debug) { $container = (docker create -it --network none ` -e WIDTH=$width -e HEIGHT=$height -e DEBUG=true hash /hash.sh $hash) -e WIDTH=$width -e HEIGHT=$height -e DEBUG=true cafstep/hash:latest /hash.sh $hash) } else { $container = (docker create -it --network none ` -e WIDTH=$width -e HEIGHT=$height hash /hash.sh $hash) -e WIDTH=$width -e HEIGHT=$height cafstep/hash:latest /hash.sh $hash) } if (-Not($?)) { Write-Host "Failed to create a Docker container." Loading
run.sh +2 −2 Original line number Diff line number Diff line Loading @@ -39,10 +39,10 @@ HEIGHT=${HEIGHT=-4960} if [ -n $DEBUG ]; then CONTAINER=$(docker create -it --network none \ -e WIDTH=$WIDTH -e HEIGHT=$HEIGHT -e DEBUG=true cafstep/hash:v0.1.0 /hash.sh $HASH) -e WIDTH=$WIDTH -e HEIGHT=$HEIGHT -e DEBUG=true cafstep/hash:latest /hash.sh $HASH) else CONTAINER=$(docker create -it --network none \ -e WIDTH=$WIDTH -e HEIGHT=$HEIGHT cafstep/hash:v0.1.0 /hash.sh $HASH) -e WIDTH=$WIDTH -e HEIGHT=$HEIGHT cafstep/hash:latest /hash.sh $HASH) fi if [ $? -ne 0 ]; then Loading