Initial selfupdate fails with syntax error
When we self update the file which is currently executed gets modified and then the internal pointer is somewhere in the middle of something. Not sure how we can resolve this. Maybe the self update function needs to be the first thing in the file, never changes and exits after it succeeded.
Or we find a way to stick that script inside the docker image and update internally. That would work if we could initially launch a container which comes with that script.