Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow scans to be run manually #96

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci-app-vulnerability-scans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
- .hadolint.yaml
- .trivyignore
- .github/workflows/ci-app-vulnerability-scans.yml
workflow_dispatch:

jobs:
vulnerability-scans:
Expand Down
8 changes: 6 additions & 2 deletions app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ RUN adduser --system --disabled-password --no-create-home app

WORKDIR /app

RUN apk --no-cache add \


RUN apk --no-cache upgrade busybox openssl \
&& apk --no-cache add \
aws-cli~=2 \
postgresql14-client~=14

COPY requirements.txt ./

RUN pip3 install --no-cache-dir -r requirements.txt
RUN pip3 install --no-cache-dir -r requirements.txt \
&& pip3 install --no-cache-dir --upgrade cryptography

COPY db-migrate /usr/bin/
COPY migrations.sql /app/
Expand Down
Loading