Skip to content

Commit

Permalink
DAS-2180: Terrible hack to get around snyk
Browse files Browse the repository at this point in the history
move gdal package dependency into file already ignored by snyk.
  • Loading branch information
flamingbear committed Jun 18, 2024
1 parent 24b9a9f commit b854d46
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ service within that environment via conda and pip then install the pre-commit ho
```
> conda create --name hybig-env python==3.11
> pip install -r pip_requirements.txt
> pip install -r conda_requirements.txt
> pip install -r dev-requirements.txt
> pre-commit install
Expand Down
1 change: 1 addition & 0 deletions conda_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GDAL==3.6.2
6 changes: 5 additions & 1 deletion docker/service.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ RUN apt-get install -y libgdal-dev
# Install Pip dependencies
COPY pip_requirements.txt pip_requirements.txt
RUN pip install --no-input --no-cache-dir \
-r pip_requirements.txt
-r pip_requirements.txt

COPY conda_requirements.txt conda_requirements.txt
RUN pip install --no-input --no-cache-dir \
-r conda_requirements.txt

# Copy service code.
COPY ./harmony_browse_image_generator harmony_browse_image_generator
Expand Down
1 change: 0 additions & 1 deletion pip_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ rioxarray==0.15.5
numpy==1.26.4
pillow==10.3.0
pyproj==3.6.1
GDAL==3.6.2

0 comments on commit b854d46

Please sign in to comment.