Skip to content

Commit dca2ac3

Browse files
committed
Fix container to allow executing binary files as args to run
1 parent 29097b4 commit dca2ac3

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

container/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ USER spack
3232

3333
WORKDIR /home/spack
3434

35-
ENTRYPOINT [ "bash" ]
35+
ENTRYPOINT [ "/bin/bash", "-l", "-c" ]

outputs/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ update-outputs: run
3535
run:
3636
$(DOCKER) run $(DOCKER_RUN_OPTS) --rm -t \
3737
--mount type=bind,source=$(CURDIR),target=/project \
38-
${container} \
39-
make -f /project/Makefile local
38+
${container} make -f /project/Makefile local
4039

4140
local: local-scripting
4241
local-scripting: local-dev scripting.sh

0 commit comments

Comments
 (0)