From 06ebb09ab02874acd92d2811f962943fff569a9a Mon Sep 17 00:00:00 2001 From: Tobias Kessels Date: Thu, 2 Oct 2025 10:02:16 +0200 Subject: [PATCH] Update Makefile --- Makefile | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/Makefile b/Makefile index 68a4de8..ad523fc 100644 --- a/Makefile +++ b/Makefile @@ -27,36 +27,23 @@ build: build-scratch: @echo "Building from scratch (Ubuntu 20.04 base)..." - docker build -f Dockerfile.scratch -t tabledevil/file-analysis:scratch . - @echo "✓ Build complete: tabledevil/file-analysis:scratch" + docker build -f Dockerfile.scratch -t tabledevil/file-analysis:latest . + @echo "✓ Build complete: tabledevil/file-analysis:latest" -build-all: build build-scratch - @echo "✓ All variants built successfully" # Test targets -test: test-remnux test-scratch - @echo "✓ All tests passed" - -test-remnux: +test: @echo "Testing REMnux build..." @docker run --rm tabledevil/file-analysis:latest bash -c "which fhelp && fhelp cheat pdfid" @docker run --rm tabledevil/file-analysis:latest bash -c "which pdfid.py && which capa && which visidata" @docker run --rm tabledevil/file-analysis:latest bash -c "zsh --version && fish --version" @echo "✓ REMnux build tests passed" -test-scratch: - @echo "Testing scratch build..." - @docker run --rm tabledevil/file-analysis:scratch bash -c "which fhelp && fhelp cheat pdfid" - @docker run --rm tabledevil/file-analysis:scratch bash -c "which pdfid.py && which capa && which pwsh" - @docker run --rm tabledevil/file-analysis:scratch bash -c "zsh --version && fish --version" - @echo "✓ Scratch build tests passed" # Docker Hub push push: @echo "Pushing images to Docker Hub..." docker push tabledevil/file-analysis:latest - docker push tabledevil/file-analysis:remnux - docker push tabledevil/file-analysis:scratch @echo "✓ Images pushed successfully" # Clean up @@ -71,8 +58,6 @@ clean: shell: docker run -it --rm -v "$$(pwd):/data" tabledevil/file-analysis:latest -shell-scratch: - docker run -it --rm -v "$$(pwd):/data" tabledevil/file-analysis:scratch # Run help coverage check coverage: