diff --git a/.github/workflows/security-gate.yaml b/.github/workflows/security-gate.yml similarity index 94% rename from .github/workflows/security-gate.yaml rename to .github/workflows/security-gate.yml index 9c13651..1a5c5b8 100644 --- a/.github/workflows/security-gate.yaml +++ b/.github/workflows/security-gate.yml @@ -1,10 +1,6 @@ name: Security Gate - LESIS on: - push: - branches: - - main - - develop pull_request: branches: - main diff --git a/Dockerfile b/Dockerfile index 2eb10d5..54603e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,16 @@ -FROM perl:5.40 +FROM ubuntu:latest COPY . /usr/src/sentra WORKDIR /usr/src/sentra +RUN apt-get update && apt-get install -y \ + cpanminus \ + libdatetime-perl \ + libssl-dev \ + libexpat1-dev \ + build-essential \ + && rm -rf /var/lib/apt/lists/* + RUN cpanm --installdeps . -ENTRYPOINT [ "perl", "./sentra.pl" ] \ No newline at end of file +ENTRYPOINT [ "perl", "./sentra.pl" ]