From d62acd688eb0ad22acd7d0384088136a24c71623 Mon Sep 17 00:00:00 2001 From: Joe Testa Date: Thu, 7 Sep 2023 08:57:39 -0400 Subject: [PATCH] Updated Docker Makefile and packaging instructions. --- Makefile.docker | 7 ------- PACKAGING.md | 6 +++--- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/Makefile.docker b/Makefile.docker index 014043c..b753f5b 100644 --- a/Makefile.docker +++ b/Makefile.docker @@ -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: diff --git a/PACKAGING.md b/PACKAGING.md index bfde1fc..a821425 100644 --- a/PACKAGING.md +++ b/PACKAGING.md @@ -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