1
vote
Accepted
How can I run apt-get update and apt-get upgrade commands automatically?
Since you are using a ready-made Docker image, and want additional package(s) on top of it, writing a Dockerfile would be "automation" of the commands. Using this you can create a new image ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
docker × 1049docker-compose × 185
kubernetes × 127
containers × 114
dockerfile × 93
jenkins × 72
gitlab × 50
windows × 47
docker-swarm × 47
networking × 46
continuous-integration × 37
linux × 37
amazon-web-services × 35
deployment × 31
nginx × 30
gitlab-ci-runner × 28
ansible × 24
jenkins-pipeline × 24
docker-registry × 24
mysql × 21
databases × 20
images × 19
security × 18
amazon-ecs × 18
node.js × 18