Updating Gitpod Docker Image
Updating Gitpod Docker image
Pull Image from Docker Hub
See available Docker Images
See running containers
Run Image Interactively
Add Your Change To The The Image
This could be a bundle update
, or installing a CLI tool.
Once you make the change DON'T EXIT THE IMAGE YET.
The changes only save if you commit them.
Grab the Container ID and then exit.
Commit The Change
Open a new Terminal and find the container id for the image you made the change in.
commit
Example
Push to Docker Hub
Example
Creating a Docker Image for Gitpod
Start From Template Docker
https://github.com/firstdraft/appdev_template/blob/master/files/Dockerfile
Run Image Interactively
Tag and Commit
tag
commit
Build
In the directory conatining the Dockefile
If the Dockerfile
is named something else:
Last updated