From 2a015ecca76b9d343bad77dcb04f9b108523918c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20V=C3=A9ril?= Date: Tue, 4 May 2021 11:16:03 +0200 Subject: [PATCH] Use exec form for export --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index db01f99..e42f714 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,7 @@ WORKDIR /home/builder/qp2 RUN ./configure -i all -c config/gfortran_avx.cfg # source don't work with /bin/sh (used by the run command so I use bash) # Compile the code to a static build -RUN /bin/bash -c "source quantum_package.rc ; qp export_as_tgz" +RUN ["/bin/bash", "-c", "source quantum_package.rc ; qp export_as_tgz"] # Used to unpack QP2 FROM busybox AS unpack