From cf1e876178f6f7154771f8b659130b57994df456 Mon Sep 17 00:00:00 2001
From: Stefan Bienert <stefan.bienert@unibas.ch>
Date: Thu, 18 Aug 2022 16:03:27 +0200
Subject: [PATCH] Fix Dockerfile

---
 validation/Dockerfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/validation/Dockerfile b/validation/Dockerfile
index 2af9344..8b4e6ba 100644
--- a/validation/Dockerfile
+++ b/validation/Dockerfile
@@ -78,7 +78,7 @@ COPY --chmod=755 validate-mmcif-file.py /usr/local/bin/validate-mmcif-file
 ## https://github.com/ihmwg/ModelCIF/blob/master/dist/mmcif_ma.dic.
 ## Dictionaries do not change that frequently therefore we skip the hassle of
 ## keeping them in an external volume.
-ARG USE_DICT_VERSION="1.4.1"
+ARG USE_DICT_VERSION="1.4.2"
 ENV USE_DICT_VERSION=${USE_DICT_VERSION}
 LABEL org.modelarchive.dict_release="${USE_DICT_VERSION}"
 WORKDIR ${SRC_DIR}
@@ -97,7 +97,7 @@ RUN set -e pipefail; \
     gunzip *.gz; \
     #
     ## Fetch the merged ModelCIF dictionary
-    if test x${USE_DICT_VERSION}==xlatest; then \
+    if test x${USE_DICT_VERSION} == xlatest; then \
       export _MA_DICT_URL="${_GIT_URL}/dist/mmcif_ma.dic"; \
     fi; \
     curl ${_MA_DICT_URL} -s -L -o mmcif_ma.dic; \
@@ -116,7 +116,7 @@ RUN set -e pipefail; \
               -dictSdbFile ${MMCIF_DICTS_DIR}/mmcif_pdbx_v50.dic.sdb; \
     #
     ## Get versions of ModelCIF & PDBx/mmCIF dictionaries
-    get-mmcif-dict-versions --parent-location ${_REPO_URL}/base/mmcif_pdbx_v50.dic \
+    get-mmcif-dict-versions --parent-location ${_GIT_URL}/base/mmcif_pdbx_v50.dic \
                             --child-location ${_MA_DICT_URL} \
                             mmcif_ma.dic; \
     mv mmcif_ma_version.json ${MMCIF_DICTS_DIR}/; \
-- 
GitLab