Add 'update.sh' #1
esmailelbob/Docker:main into main Thank you!
Sorry for the late reply, I get busy during the weekdays.
Will merge the PR after I test the code :)
Just a few modifications:
-
You need to add
docker-compose buildafterdocker-compose downto build the image (since there are no pre-built images) -
You have to remove the
docker-compose.ymlfiles withrm */docker-compose.ymlto prevent conflicts when building -
I would recommend adding
set -xsince thedocker-composecommmands requiresudo
You have to remove the docker-compose.yml files with rm */docker-compose.yml to prevent conflicts when building
Do not get what you mean excatly, the main docker-compose file? or files inside hyperpipe and hyperpipe-backend?
I would recommend adding set -x since the docker-compose commmands require sudo
What? O.o First time to see this syntax
Do not get what you mean excatly, the main docker-compose file? or files inside hyperpipe and hyperpipe-backend?
The docker-compose.yml files inside ./Hyperpipe and ./hyperpipe-backend have to be removed
What? O.o First time to see this syntax
It is used to print the commands executed :)
btw, i think it would be easier to mention this in the readme
The docker-compose.yml files inside ./Hyperpipe and ./hyperpipe-backend have to be removed
Unsure why but done it, even though if file update it would tell you in git
It is used to print the commands executed :)
hmm, you mean like set -x sudo docker-compose ??
btw, i think it would be easier to mention this in the readme
Done
hmm, you mean like set -x sudo docker-compose ??
here is an example :)
#!/bin/sh
set -x
sudo docker-compose down
echo "Building..."
sudo docker-compose build
Okay so put it once, learned new thing toady!
and done
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?