-
Notifications
You must be signed in to change notification settings - Fork 11
replace public.ecr.aws/bitnami images due to Bitnami image removal from ECR Public #2863
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
Changes from 1 commit
907a84b
0166b67
5d807f8
e7c9ec9
ea2f5bf
66070c0
cbd660d
423756a
fceedee
8e14344
a2a3c3f
adf28a3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,16 @@ | ||
| FROM public.ecr.aws/bitnami/python:3.12.4 | ||
|
|
||
| WORKDIR /opt/app-root/src | ||
| FROM python:3.12-slim | ||
|
|
||
| WORKDIR /app | ||
|
|
||
| # Install dependencies | ||
| RUN install_packages gcc libc6-dev libpq-dev libmagic-dev | ||
| RUN apt-get update -yqq && \ | ||
| apt-get install -y gcc libc6-dev libpq-dev libmagic-dev && \ | ||
|
Check warning on line 7 in document-manager/backend/openshift.dockerfile
|
||
| rm -rf /var/lib/apt/lists/* | ||
|
|
||
| # Install the requirements | ||
| COPY ./requirements.txt . | ||
| RUN pip install wheel && \ | ||
| pip install -r requirements.txt --src /opt/app-root/src | ||
| RUN pip install --no-cache-dir wheel && \ | ||
|
Check warning on line 12 in document-manager/backend/openshift.dockerfile
|
||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
| pip install --no-cache-dir -r requirements.txt | ||
|
Check warning on line 13 in document-manager/backend/openshift.dockerfile
|
||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
|
|
||
| RUN apt-get purge -y --auto-remove gcc libc6-dev | ||
|
|
||
|
|
@@ -19,4 +20,4 @@ | |
|
|
||
| # Run the server | ||
| EXPOSE 5001 9191 | ||
| ENTRYPOINT /opt/app-root/src/app.sh backend | ||
| ENTRYPOINT ["./app.sh", "backend"] | ||
Uh oh!
There was an error while loading. Please reload this page.