Skip to content

infrastlabs/docker-x11base

Repository files navigation

docker-x11base

Features

  • package the system by your dotfiles with docker
  • box/server side headless deploy
  • multi remote entry: noVNC, Xrdp, SSH; Audio supported
  • suckless misc, static built binary for any distribution
  • multi arch, current suport: amd64, arm64, armv7

pic Docker Pulls Last commit GitHub issues

Run

# cmd: [port novnc:10081, ssh:10022, xrdp:10089]
docker run -it --rm --net=host -e VNC_OFFSET=21 infrastlabs/x11-base:core-alpine #app-alpine
REPO=registry.cn-shenzhen.aliyuncs.com/ #ccr.ccs.tencentyun.com/  dockerhub.qingcloud.com/ registry-1.docker.io/
docker run -it --rm --net=host -e START_SESSION2=xfce4-session ${REPO}infrastlabs/x11-base:app-ubuntu

# app [dcp docker-compose]
REPO=registry.cn-shenzhen.aliyuncs.com/ #ccr.ccs.tencentyun.com/  dockerhub.qingcloud.com/ registry-1.docker.io/
DESK=xfce4-session #startfluxbox openbox-session xfce4-session
echo -e "REPO=$REPO\nDESK=$DESK\n"> .env

curl -k -fSL -O https://gitee.com/infrastlabs/docker-x11base/raw/dev/docker-compose.yml
# export DESK=openbox-session
# export ALPINE=app-alpine-3.2 UBUNTU=app-ubuntu-14.04 OPENSUSE=app-opensuse-15.0
dcp pull; dcp up -d
# dcp up -d --scale xxx=2 --no-recreate

# core [distros: rootfs alpine ubuntu opensuse busybox openwrt debian fedora]
curl -k -fSL -o docker-compose.yml https://gitee.com/infrastlabs/docker-x11base/raw/dev/docker-compose-core.yml
dist=rootfs;   dcp pull $dist; dcp up -d $dist
dist=alpine;   dcp pull $dist; dcp up -d $dist
dist=ubuntu;   dcp pull $dist; dcp up -d $dist
dist=opensuse; dcp pull $dist; dcp up -d $dist
dist=busybox;  dcp pull $dist; dcp up -d $dist
dist=openwrt;  dcp pull $dist; dcp up -d $dist
dist=debian;   dcp pull $dist; dcp up -d $dist
dist=fedora;   dcp pull $dist; dcp up -d $dist

Distros

Tags

Tag origin core app Star
core-alpine pic pic pic ★★★★★
core-ubuntu pic pic pic ★★★★★
core-opensuse pic pic pic ★★★★★
--- --- --- --- ---
core-busybox 1.36.1 pic pic - ★★★★☆
core-openwrt 23.05 pic pic - ★★★★★
core-debian 12 pic pic - ★★★★★
core-fedora 39 pic pic - ★★★★☆(-armv7)

CompileDbg

# infrastlabs/x11-base:builder ##alpine-builder-gtk224
# --privileged>> make: /bin/sh: Operation not permitted
REPO=registry.cn-shenzhen.aliyuncs.com/ #ccr.ccs.tencentyun.com/  dockerhub.qingcloud.com/ registry-1.docker.io/
root@VM-12-9-ubuntu:~# docker run -it --rm -v /mnt:/mnt2 --privileged ${REPO}infrastlabs/x11-base:alpine-builder-gtk224 sh
# apk add git gawk
export GITHUB=https://hub.yzuu.cf
cd /mnt2/docker-x11base/compile/src/
# /mnt2/docker-x11base/compile/src # 
rm -rf /src; ln -s $(pwd) /src

# export TARGETPATH=/usr/local/static/misc #/usr/local/static_temp1
git pull; bash x-pulseaudio/build.sh b_deps #libogg
find /usr/lib /usr/local/lib |egrep "ogg|opus|sndfile|FLAC|vorbis" |egrep "\.a$" |sort
git pull; bash x-pulseaudio/build.sh libopus
git pull; bash x-pulseaudio/build.sh libflac
git pull; bash x-pulseaudio/build.sh pulseaudio
# git pull; bash fluxbox/build.sh fluxbox