Ubuntu image from https://hub.docker.com/_/ubuntu
Hosted on GitHub Container Registry (ghcr.io) to avoid DockerHub pull limitations, and easily deploy on clusters (such as Kubernetes).
The image on ghcr.io is automatically updated every week (Monday at 3:00 GMT+1) by a GitHub Actions workflow to match the latest
tag of ubuntu (20.04
in 2021)
docker run -it -v $(pwd):/root ghcr.io/maastrichtu-ids/ubuntu:latest
In the container:
- User, with
sudo
privileges:root
- Workspace path:
/root
Set entrypoint to tail -f /dev/null
to keep it hanging as a service.
docker run -it --entrypoint tail -v $(pwd):/root ghcr.io/maastrichtu-ids/ubuntu:latest -f /dev/null
Feel free to edit the Dockerfile
to install additional packages in the image.
docker build -t ghcr.io/maastrichtu-ids/ubuntu:latest .
docker push ghcr.io/maastrichtu-ids/ubuntu:latest