mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-22 10:31:41 +01:00
Updated Docker Makefile and packaging instructions.
This commit is contained in:
parent
f517e03d9f
commit
d62acd688e
@ -4,13 +4,6 @@ ifeq ($(VERSION),)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
all:
|
all:
|
||||||
docker buildx build \
|
|
||||||
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
|
||||||
--tag positronsecurity/ssh-audit:${VERSION} \
|
|
||||||
--tag positronsecurity/ssh-audit:latest \
|
|
||||||
.
|
|
||||||
|
|
||||||
local-build:
|
|
||||||
docker build -t positronsecurity/ssh-audit:${VERSION} .
|
docker build -t positronsecurity/ssh-audit:${VERSION} .
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
|
@ -18,7 +18,7 @@ An executable can only be made on a Windows host because the PyInstaller tool (h
|
|||||||
To create package and upload to test server:
|
To create package and upload to test server:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sudo apt install python3-virtualenv python3.8-venv
|
$ sudo apt install python3-virtualenv python3.10-venv
|
||||||
$ make -f Makefile.pypi
|
$ make -f Makefile.pypi
|
||||||
$ make -f Makefile.pypi uploadtest
|
$ make -f Makefile.pypi uploadtest
|
||||||
```
|
```
|
||||||
@ -67,13 +67,13 @@ Upload the snap with:
|
|||||||
|
|
||||||
# Docker
|
# Docker
|
||||||
|
|
||||||
Build image with:
|
Build a local image with:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ make -f Makefile.docker
|
$ make -f Makefile.docker
|
||||||
```
|
```
|
||||||
|
|
||||||
Then upload it to Dockerhub with:
|
Create a multi-architecture build and upload it to Dockerhub with:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ make -f Makefile.docker upload
|
$ make -f Makefile.docker upload
|
||||||
|
Loading…
Reference in New Issue
Block a user