mirror of
https://github.com/dockersrc/ubuntu
synced 2026-06-30 11:45:55 -04:00
29a0d95f58398acb1dcc2ae350f5974c4aa99561
Build and Push 18.04 / build (push) Failing after 2s
Build and Push 20.04 / build (push) Failing after 3s
Build and Push 22.04 / build (push) Failing after 2s
Build and Push 24.04 / build (push) Failing after 2s
Build and Push 24.10 / build (push) Failing after 2s
Build and Push 26.04 / build (push) Failing after 2s
Build and Push / build (push) Failing after 3s
__setup_mta calls __find_replace on /etc/ssmtp/revaliases which returns 1 when the symlink it creates is broken. With set -o pipefail active the non-zero return kills the entire entrypoint before any command can run. ssmtp is not installed in this image and email delivery is not a feature of this image, so the MTA setup failure is irrelevant. Guard the call with || true so initialization continues regardless. - rootfs/usr/local/bin/entrypoint.sh: __setup_mta || true (non-fatal) rootfs/usr/local/bin/entrypoint.sh
👋 Welcome to ubuntu 🚀
ubuntu README
Install my system scripts
sudo bash -c "$(curl -q -LSsf "https://github.com/systemmgr/installer/raw/main/install.sh")"
sudo systemmgr --config && sudo systemmgr install scripts
Automatic install/update
dockermgr update os ubuntu
Install and run container
mkdir -p "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest"
git clone "https://github.com/dockermgr/ubuntu" "$HOME/.local/share/CasjaysDev/dockermgr/ubuntu"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/ubuntu/rootfs/." "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest/"
docker run -d \
--restart always \
--privileged \
--name casjaysdev-ubuntu-latest \
--hostname ubuntu \
-e TZ=${TIMEZONE:-America/New_York} \
-v "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest/data:/data:z" \
-v "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest/config:/config:z" \
casjaysdev/ubuntu:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdev/ubuntu
container_name: casjaysdev-ubuntu-latest
environment:
- TZ=America/New_York
- HOSTNAME=ubuntu
volumes:
- "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest/data:/data:z"
- "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest/config:/config:z"
restart: always
Get source files
dockermgr download src os ubuntu
Build container
git clone "https://github.com/dockersrc/ubuntu" "$HOME/Projects/github/dockersrc/ubuntu"
cd "$HOME/Projects/github/dockersrc/ubuntu" && buildx all
Authors
Description
Languages
Shell
95.5%
Dockerfile
4.5%