mirror of
https://github.com/dockersrc/xorg
synced 2026-09-21 01:12:47 -04:00
d4aba79607ea71f51fc3688f6ed64184b75ecf78
__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 xorg 🚀
xorg 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 xorg
Install and run container
dockerHome="/var/lib/srv/$USER/docker/casjaysdevdocker/xorg/latest/volumes"
mkdir -p "$dockerHome"
git clone "https://github.com/dockermgr/xorg" "$HOME/.local/share/CasjaysDev/dockermgr/xorg"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/xorg/volumes/." "$dockerHome/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-xorg-latest \
--hostname xorg \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$dockerHome/data:/data:z" \
-v "$dockerHome/config:/config:z" \
-p 80:80 \
casjaysdevdocker/xorg:latest
via docker-compose
services:
ProjectName:
image: casjaysdevdocker/xorg
container_name: casjaysdevdocker-xorg
environment:
- TZ=America/New_York
- HOSTNAME=xorg
volumes:
- "/var/lib/srv/$USER/docker/casjaysdevdocker/xorg/latest/volumes/data:/data:z"
- "/var/lib/srv/$USER/docker/casjaysdevdocker/xorg/latest/volumes/config:/config:z"
ports:
- 80:80
restart: always
Get source files
dockermgr download src casjaysdevdocker/xorg
OR
git clone "https://github.com/casjaysdevdocker/xorg" "$HOME/Projects/github/casjaysdevdocker/xorg"
Build container
cd "$HOME/Projects/github/casjaysdevdocker/xorg"
buildx
Authors
Languages
Shell
93.1%
Dockerfile
6.9%