-
-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: dockerfile package installs alphabetical (sonarcloud)
- Loading branch information
1 parent
039350d
commit 42eb817
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,10 +36,10 @@ WORKDIR /opt/python | |
# Setup backend build-time dependencies | ||
RUN apt-get update && apt-get install --no-install-recommends -y \ | ||
build-essential \ | ||
postgresql-server-dev-15 \ | ||
python3-dev \ | ||
libffi-dev \ | ||
libgeos-dev | ||
libgeos-dev \ | ||
postgresql-server-dev-15 \ | ||
python3-dev | ||
Check notice Code scanning / SonarCloud Arguments in long RUN instructions should be sorted Low
Sort these package names alphanumerically. See more on SonarCloud
|
||
# Setup backend Python dependencies | ||
COPY --from=extract-deps \ | ||
/opt/python/requirements.txt /opt/python/ | ||
|
@@ -62,7 +62,7 @@ ENV PYTHONDONTWRITEBYTECODE=1 \ | |
# Setup backend runtime dependencies | ||
RUN apt-get update && \ | ||
apt-get install --no-install-recommends -y \ | ||
postgresql-client libgeos3.11.1 proj-bin && \ | ||
libgeos3.11.1 postgresql-client proj-bin && \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* | ||
COPY --from=build \ | ||
/home/appuser/.local \ | ||
|