1
0
mirror of https://github.com/mveril/qp-demo synced 2024-07-22 18:57:32 +02:00

Use exec form for export

This commit is contained in:
Mickaël Véril 2021-05-04 11:16:03 +02:00
parent 91511d7192
commit 2a015ecca7

View File

@ -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