From e1a085ffd562534e333ba863ad64aaf9d094d388 Mon Sep 17 00:00:00 2001 From: Stanislav Bogatyrev Date: Wed, 26 Oct 2022 13:08:43 +0300 Subject: [PATCH] [#409] Remove docker target It would not work this way for non-root users. Let's postpone. Signed-off-by: Stanislav Bogatyrev --- Makefile | 8 -------- docs/building-deb-package.md | 8 -------- 2 files changed, 16 deletions(-) diff --git a/Makefile b/Makefile index 9b0525144..1536534d9 100644 --- a/Makefile +++ b/Makefile @@ -160,13 +160,5 @@ debpackage: "Please see CHANGELOG.md for code changes for $(VERSION)" dpkg-buildpackage --no-sign -b -docker/debpackage: - docker run --rm -t \ - -v `pwd`:/src \ - -w /src \ - -u "$$(id -u):$$(id -g)" \ - --env HOME=/src \ - golang:$(GO_VERSION) apt update && apt install debhelper-compat dh-sequence-bash-completion devscripts && make debpackage - debclean: dh clean diff --git a/docs/building-deb-package.md b/docs/building-deb-package.md index 7e0a006cf..7f8947c68 100644 --- a/docs/building-deb-package.md +++ b/docs/building-deb-package.md @@ -32,14 +32,6 @@ or $ dh clean ``` -# Building in container - -Build dependencies will be added to Go container and package will be built. - -```shell -$ sudo make docker/debpackage -``` - # Package versioning By default, package version is based on product version and may also contain