Building SVR4 and dumb-init Devuan images

Evaluate the best HTTPS mirror

let’s rely on ping response, not bandwidth nor traceroute for once

wget https://pkgmaster.devuan.org/mirror_list.txt
grep ^FQDN mirror_list.txt  | awk '{print $NF}' > mirrors
for mirror in `cat mirrors`; do ping -c3 $mirror; done; unset mirror

for FRANCE, best mirrors are – in order of preference

pkgmaster.devuan.org
sledjhamr.org
mirror.vpgrp.io

Setup

docker pull registry.gitlab.com/paddy-hack/devuan

SVR4

mkdir -p ~/images/devuan-svr4/
cd ~/images/devuan-svr4/
wget https://pub.nethence.com/bin/docker/devuan-svr4/Dockerfile.txt
wget https://pub.nethence.com/bin/docker/devuan-svr4/install.bash.txt
    for f in *.txt; do mv $f ${f%\.txt}; done; unset f
chmod +x install.bash
time nice docker build -t pbraun9/devuan-svr4 ./
# 6m48.204s on xc
# 6m5.569s on xc

dumb-init

mkdir -p ~/images/devuan/
cd ~/images/devuan/
wget https://pub.nethence.com/bin/docker/devuan/Dockerfile.txt
wget https://pub.nethence.com/bin/docker/devuan/install.bash.txt
    for f in *.txt; do mv $f ${f%\.txt}; done; unset f
chmod +x install.bash
time nice docker build -t pbraun9/devuan ./
# 6m58.958s on xc
# 6m10.334s on xc

Acceptance

works for both SVR4 and dumb-init

docker run -d --name devuan-svr4 --hostname devuan-svr4 --workdir /root pbraun9/devuan-svr4
docker logs devuan-svr4
docker exec -ti devuan-svr4 /bin/bash

docker run -d --name devuan --hostname devuan --workdir /root pbraun9/devuan
docker logs devuan
docker exec -ti devuan /bin/bash

    echo $container
ps auxfw
dpkg -l | grep exim # nope
dpkg -l | grep vim # nope
    tail -30 /etc/bash.bashrc
    echo $MAKEFLAGS
service uuidd status
^D

docker rm devuan-svr4 --force
docker rm devuan --force

see operations

Results on Docker Hub

docker login -u pbraun9
docker push pbraun9/devuan-svr4
docker push pbraun9/devuan

Devuan bare-system image with an SVR4 init https://hub.docker.com/r/pbraun9/devuan-svr4

Devuan bare-system image with dumb-init https://hub.docker.com/r/pbraun9/devuan

Alternative

this one also has an init built-in

docker pull dyne/devuan:ceres
docker run -d --name dyne-devuan --hostname dyne-devuan --workdir /root dyne/devuan:ceres
docker ps
docker logs dyne-devuan
docker exec -ti dyne-devuan /bin/bash

Resources

happy hacking ;^) https://devuan.unetresgrossebite.com/README.txt

Devuan Release Archive Mirrors https://devuan.unetresgrossebite.com/MIRRORS.txt

Package Repositories https://www.devuan.org/os/packages


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | NU | HTML5
PROXYSELLER — the best individual proxy provider
Copyright © 2021 Pierre-Philipp Braun