Updated Docker Makefile and packaging instructions.

This commit is contained in:
Joe Testa 2023-09-07 08:57:39 -04:00
parent f517e03d9f
commit d62acd688e
2 changed files with 3 additions and 10 deletions

View File

@ -4,13 +4,6 @@ ifeq ($(VERSION),)
endif
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} .
upload:

View File

@ -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:
```
$ sudo apt install python3-virtualenv python3.8-venv
$ sudo apt install python3-virtualenv python3.10-venv
$ make -f Makefile.pypi
$ make -f Makefile.pypi uploadtest
```
@ -67,13 +67,13 @@ Upload the snap with:
# Docker
Build image with:
Build a local image with:
```
$ 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