anaconda / docker-images

Repository of Docker images created by Anaconda
https://hub.docker.com/u/continuumio/
829 stars 282 forks source link

[conda_builder_linux ] Cannot use start_cpp98.sh with script #33

Closed bjodah closed 3 years ago

bjodah commented 8 years ago

This used to work:

$ start_cpp98.sh my_build_script.sh

it doesn't any longer, I'm pretty sure this is to blame: https://github.com/ContinuumIO/docker-images/blame/master/conda_builder_linux/docker_wrapper.sh#L32

any thoughts @stefanseefeld?

msarahan commented 8 years ago

It should work, but you need to put - - in between any docker args(you have none) and command args.

$ start_cpp98.sh --  my_build_script.sh
bjodah commented 8 years ago

I see, yes that worked. (I think the README still describes the older version of docker_wrapper.sh) Thanks!

Perhaps an example like this would be instructive in the README?

$ cat <<EOF >my_test.sh
g++ --version
EOF
$ start_cpp98.sh -v $(pwd):/home/dev/current_folder -- ./current_folder/my_test.sh
g++ (GCC) 5.2.0
...
msarahan commented 8 years ago

Thanks. I will update the readme. Not closing this issue until I have done so.

dbast commented 3 years ago

The mentioned script does not exist anymore and there are the compiler action scripts nowadays, thus closing. Please reopen, if this still is an issue.