diff --git a/containerize/Containerfile b/containerize/Containerfile index 50fd9aa..5e8a143 100644 --- a/containerize/Containerfile +++ b/containerize/Containerfile @@ -81,3 +81,4 @@ RUN useradd -u 1000 -d /opt/rapidast -m -s /bin/bash rapidast && \ USER rapidast WORKDIR /opt/rapidast ENV HOME /opt/rapidast +ENTRYPOINT ["./rapidast.py"] diff --git a/e2e-tests/manifests/rapidast-nessus-pod.yaml b/e2e-tests/manifests/rapidast-nessus-pod.yaml index d8e6d52..a8616ea 100644 --- a/e2e-tests/manifests/rapidast-nessus-pod.yaml +++ b/e2e-tests/manifests/rapidast-nessus-pod.yaml @@ -4,11 +4,7 @@ metadata: name: rapidast-nessus spec: containers: - - command: - - bash - - -c - - ./rapidast.py - env: + - env: - name: NESSUS_USER value: admin - name: NESSUS_PASSWORD diff --git a/e2e-tests/manifests/rapidast-oobtkube-pod.yaml b/e2e-tests/manifests/rapidast-oobtkube-pod.yaml index 643b16a..5432b9a 100644 --- a/e2e-tests/manifests/rapidast-oobtkube-pod.yaml +++ b/e2e-tests/manifests/rapidast-oobtkube-pod.yaml @@ -7,11 +7,7 @@ metadata: app: rapidast-oobtkube spec: containers: - - command: - - bash - - -c - - ./rapidast.py - image: ${IMAGE} # quay.io/redhatproductsecurity/rapidast:latest + - image: ${IMAGE} # quay.io/redhatproductsecurity/rapidast:latest imagePullPolicy: Always name: rapidast-oobtkube resources: diff --git a/e2e-tests/manifests/rapidast-trivy-pod.yaml b/e2e-tests/manifests/rapidast-trivy-pod.yaml index 7d74840..7205978 100644 --- a/e2e-tests/manifests/rapidast-trivy-pod.yaml +++ b/e2e-tests/manifests/rapidast-trivy-pod.yaml @@ -5,11 +5,7 @@ metadata: name: rapidast-trivy spec: containers: - - command: - - bash - - -c - - ./rapidast.py - image: ${IMAGE} # quay.io/redhatproductsecurity/rapidast:latest + - image: ${IMAGE} # quay.io/redhatproductsecurity/rapidast:latest imagePullPolicy: Always name: rapidast-trivy resources: