From d52939dca910b3e33f5958bab7c184a694c23ef4 Mon Sep 17 00:00:00 2001 From: jdchart <jacob.dchart@gmail.com> Date: Tue, 17 Jan 2023 14:41:23 +0100 Subject: [PATCH] To avoid parsing error Error was "docker: invalid reference format: repository name must be lowercase.". Solution found here: https://stackoverflow.com/questions/48522615/docker-error-invalid-reference-format-repository-name-must-be-lowercase --- build_deps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_deps.sh b/build_deps.sh index a28597c..2ece1b4 100644 --- a/build_deps.sh +++ b/build_deps.sh @@ -1,5 +1,5 @@ #!/bin/bash cd mirador-video-annotation -docker run --rm -v $PWD:/opt -it node:12 /bin/sh -c "cd /opt && npm install && npm run build:es" +docker run --rm -v "$(pwd):/opt" -it node:12 /bin/sh -c "cd /opt && npm install && npm run build:es" cd ../annotations-plugin -docker run --rm -v $PWD:/opt -it node:12 /bin/sh -c "cd /opt && npm install && npm run build" +docker run --rm -v "$(pwd):/opt" -it node:12 /bin/sh -c "cd /opt && npm install && npm run build" -- GitLab