Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.26 KB

README.md

File metadata and controls

41 lines (25 loc) · 1.26 KB

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).

Automatically updated

Publish Docker image

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)

Run

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

Build

Feel free to edit the Dockerfile to install additional packages in the image.

docker build -t ghcr.io/maastrichtu-ids/ubuntu:latest .

Push

docker push ghcr.io/maastrichtu-ids/ubuntu:latest