forked from TrueCloudLab/frostfs-node
[#409] Remove docker target
It would not work this way for non-root users. Let's postpone. Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
parent
ff67e903ca
commit
e1a085ffd5
2 changed files with 0 additions and 16 deletions
8
Makefile
8
Makefile
|
@ -160,13 +160,5 @@ debpackage:
|
||||||
"Please see CHANGELOG.md for code changes for $(VERSION)"
|
"Please see CHANGELOG.md for code changes for $(VERSION)"
|
||||||
dpkg-buildpackage --no-sign -b
|
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:
|
debclean:
|
||||||
dh clean
|
dh clean
|
||||||
|
|
|
@ -32,14 +32,6 @@ or
|
||||||
$ dh clean
|
$ 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
|
# Package versioning
|
||||||
|
|
||||||
By default, package version is based on product version and may also contain
|
By default, package version is based on product version and may also contain
|
||||||
|
|
Loading…
Reference in a new issue