Skip to content

robobe/debian_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Post

Install

sudo apt install fakeroot devscripts debhelper

Check using docker

docker run -it --rm --name test_deb --hostname test -v `pwd`/debs:/debs ubuntu:22.04 /bin/bash

check service using podman

sudo apt install podman
podman build -f docker/Dockerfile -t ubuntu22:systemd
podman run -it --rm \
  --name systemd_container \
  --privileged \
  --systemd=always \
  --volume /sys/fs/cgroup:/sys/fs/cgroup:ro \
  --volume `pwd`/debs:/debs \
  ubuntu22:systemd \
  /sbin/init
podman exec -it systemd_container /bin/bash

About

Pack shell script as debian package

Topics

Resources

Stars

Watchers

Forks