From eb71c13f3bb0ca9ae2084a2b986f915d15f0ac65 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 4 Oct 2026 21:38:14 +0500 Subject: debian: ditch Vagrant, switch to Docker --- debian/Makefile | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'debian/Makefile') diff --git a/debian/Makefile b/debian/Makefile index 5580ca0..60f652c 100644 --- a/debian/Makefile +++ b/debian/Makefile @@ -1,26 +1,27 @@ include ../prelude.mk -NAME ?= Egor Tensin -EMAIL ?= egor@tensin.name PPA_OWNER ?= egor-tensin PPA_NAME ?= linux-status GPG_KEY ?= 09AEA2BAD52882A1AF9D6042F218DB829A9905B5 DIST ?= focal -$(eval $(call noexpand,NAME)) -$(eval $(call noexpand,EMAIL)) $(eval $(call noexpand,PPA_OWNER)) $(eval $(call noexpand,PPA_NAME)) $(eval $(call noexpand,GPG_KEY)) $(eval $(call noexpand,DIST)) -export NAME -export EMAIL - this_dir := $(dir $(realpath $(firstword $(MAKEFILE_LIST)))) root := $(this_dir)/.. build_area := $(this_dir)/build-area +.PHONY: docker +docker: + uid="$$( stat -c '%u' . )" && \ + gid="$$( stat -c '%g' . )" && \ + docker compose build --build-arg UID="$$uid" --build-arg GID="$$gid" + docker compose run --rm builder + docker compose down -v + .PHONY: deps deps: apt update @@ -30,8 +31,10 @@ deps: devscripts \ dh-make \ dput \ + fakeroot \ git-buildpackage \ - vim + openssh-client \ + sudo .PHONY: dch dch: -- cgit v1.3