Skip to content

Commit

Permalink
updated base image version in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
deolank committed Oct 26, 2023
1 parent b89bea4 commit 2e6a0d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
### Fixed
- Updated @babel/traverse to mitigate [CVE-2023-45133](https://github.com/aws-solutions/cost-optimizer-for-amazon-workspaces/pull/61)
- Updated urllib3 to mitigate [CVE-2023-45803](https://github.com/aws-solutions/cost-optimizer-for-amazon-workspaces/pull/59)
- Updated the base python image in the Dockerfile used to fix the following CVEs: [CVE-2023-29491](https://nvd.nist.gov/vuln/detail/CVE-2023-29491), [CVE-2023-4911](https://nvd.nist.gov/vuln/detail/CVE-2023-4911), [CVE-2023-36054](https://nvd.nist.gov/vuln/detail/CVE-2023-36054), [CVE-2023-3446](https://nvd.nist.gov/vuln/detail/CVE-2023-3446), [CVE-2023-3817](https://nvd.nist.gov/vuln/detail/CVE-2023-3817).

## [2.6.3] - 2023-09
### Fixed
Expand Down
4 changes: 1 addition & 3 deletions source/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
FROM public.ecr.aws/docker/library/python:3.11.5-slim-bullseye
FROM public.ecr.aws/docker/library/python:3.11.6-slim-bullseye
COPY workspaces_app /workspaces_app

WORKDIR /workspaces_app

RUN adduser -uid 1001 nonroot
USER nonroot

RUN pip install -r ./setup_requirements.txt
RUN pip install -r ./requirements.txt

CMD python3 ./main.py

0 comments on commit 2e6a0d6

Please sign in to comment.