2 Commits

Author SHA1 Message Date
Morten Olsen
6969f13fa7 multiarch build 2025-12-25 21:07:25 +01:00
Morten Olsen
7c014b9898 set defaults in docker instead of scanner 2025-12-13 08:21:40 +01:00
3 changed files with 2 additions and 9 deletions

View File

@@ -87,7 +87,7 @@ jobs:
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
context: . context: .
# platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}

View File

@@ -60,6 +60,7 @@ USER 65532:65532
# Environment variables for nuclei # Environment variables for nuclei
ENV NUCLEI_TEMPLATES_PATH=/nuclei-templates ENV NUCLEI_TEMPLATES_PATH=/nuclei-templates
ENV NUCLEI_BINARY_PATH=/usr/local/bin/nuclei
ENV HOME=/home/nonroot ENV HOME=/home/nonroot
ENTRYPOINT ["/manager"] ENTRYPOINT ["/manager"]

View File

@@ -460,14 +460,6 @@ func (m *JobManager) buildJob(scan *nucleiv1alpha1.NucleiScan) *batchv1.Job {
}, },
}, },
}, },
{
Name: "NUCLEI_BINARY_PATH",
Value: "/usr/local/bin/nuclei",
},
{
Name: "NUCLEI_TEMPLATES_PATH",
Value: "", // Empty means use default location (~/.nuclei/templates)
},
}, },
}, },
}, },