Skip to content

exo-docker/ubuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exoplatform/ubuntu Docker image

Build & publish eXo Ubuntu images

Supported tags and respective Dockerfile links

Ubuntu edition Docker tags Dockerfile
Ubuntu 24.04 (latest LTS) 24.04, 24, latest (24.04/Dockerfile)
Ubuntu Rolling (latest normal release) rolling (rolling/Dockerfile)
Ubuntu Jammy Jellyfish (22.04 LTS) 22.04, 22 (22.04/Dockerfile)
Ubuntu Focal Fossa (20.04 LTS, EOL) 20.04, 20 (20.04/Dockerfile)

Note: latest points to the most recent LTS (24.04). rolling tracks the newest Ubuntu release (non-LTS or LTS).

Image content

  • Tini v0.19.0 – minimal init for containers
# Default entrypoint
ENTRYPOINT ["/usr/local/bin/tini", "--"]
# Default CMD
CMD ["/your/program", "-and", "-its", "arguments"]
  • Gosu v1.12 – sudo/su replacement for containers
# Usage examples
gosu tianon bash
gosu nobody:root bash -c 'whoami && id'
gosu 1000:1 id
  • Tooling included: gpg, curl, wget, unzip, htop
  • wait-for-it.sh script to wait for TCP host/port availability (more info)
#!/usr/bin/env bash
# wait for a MySQL database (max 60 seconds)
wait-for-it.sh my-db:3306 -s -t 60 || { echo "ERROR mysql database unavailable after 60s! Abort."; exit 1; }
  • Ubuntu package repositories:
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs) main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-security main restricted universe multiverse

Run

# Start a container with an interactive shell
docker run --rm -ti exoplatform/ubuntu bash

# Start a container and run htop
docker run --rm -ti exoplatform/ubuntu htop

Build

# Get the sources
git clone https://github.com/exo-docker/ubuntu.git
cd ./24.04/

# Build the image
docker build -t exoplatform/ubuntu .

About

Ubuntu Docker container for eXo needs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •