First time here? Check out the FAQ!

Revision history  [back]

Docker: When does wing use build script?

I'm experimenting with Wing's docker integration, and I see that when I create a new project using docker, wing creates a build.sh file that builds a docker image when executed. I see that this script is set in the "Specify Build Script:" field of the container options screen.

What I don't understand though, is when Wing uses this script. I assume it does so when the project is initially created, but if I delete the image and restart the python shell (or wing), the image isn't rebuilt. So, when does wing execute this script itself, and when should I execute it?

Docker: When does wing use build script?

I'm experimenting with Wing's docker integration, and I see that when I create a new project using docker, wing creates a build.sh file that builds a docker image when executed. I see that this script is set in the "Specify Build Script:" field of the container options screen.

What I don't understand though, is when Wing uses this script. I assume it does so when the project is initially created, but if I delete the image and restart the python shell (or wing), the image isn't rebuilt. So, when does wing execute this script itself, and when should I execute it?

Docker: When does wing use build script?

I'm experimenting with Wing's docker integration, and I see that when I create a new project using docker, wing creates a build.sh file that builds a docker image when executed. I see that this script is set in the "Specify Build Script:" field of the container options screen.

What I don't understand though, is when Wing uses this script. I assume it does so when the project is initially created, but if I delete the image and restart the python shell (or wing), the image isn't rebuilt. So, when does wing execute this script itself, and when should I execute it?