Skip to content

Conversation

@jtroe
Copy link
Collaborator

@jtroe jtroe commented Apr 21, 2025

  • installs GDAL
  • avoids using anaconda/defaults due to licensing restrictions
  • instead prefers conda-forge for python/gdal and pypi for arcgis/arcgis-mapping

Test build can be executed with:
docker run -it --rm ghcr.io/esri/arcgis-python-api-notebook:2.4.1-python3.11@sha256:4091a781b5629d9f6849fa5dbd68ec7a926cf3cc8a86fdc74bb667126d43a5aa bash

@jtroe jtroe self-assigned this Apr 21, 2025
@jtroe jtroe requested a review from achapkowski April 21, 2025 14:12
Copy link
Contributor

@cariashuang0417 cariashuang0417 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test passed by running the new notebook image that @jtroe mentioned in the PR:

  • image successfully ran:
(base) PS C:\Windows\system32> docker run -it --rm ghcr.io/esri/arcgis-python-api-notebook:2.4.1-python3.11@sha256:4091a781b5629d9f6849fa5dbd68ec7a926cf3cc8a86fdc74bb667126d43a5aa bash
Unable to find image 'ghcr.io/esri/arcgis-python-api-notebook:2.4.1-python3.11@sha256:4091a781b5629d9f6849fa5dbd68ec7a926cf3cc8a86fdc74bb667126d43a5aa' locally
ghcr.io/esri/arcgis-python-api-notebook@sha256:4091a781b5629d9f6849fa5dbd68ec7a926cf3cc8a86fdc74bb667126d43a5aa: Pulling from esri/arcgis-python-api-notebook
802008e7f761: Pull complete
abe94e508eaa: Pull complete
d93fc9dc9d38: Pull complete
4f4fb700ef54: Pull complete
56f0e7641c5b: Pull complete
4d0342fcac6c: Pull complete
be1c6f115c51: Pull complete
92bc4ae06b0a: Pull complete
4b70b3810403: Pull complete
239687ec72cc: Pull complete
403ed4d063a8: Pull complete
95ffe5c53768: Pull complete
df5f7258a165: Pull complete
066afbb507fd: Pull complete
2f362bf799ca: Pull complete
6ce36f62b6d6: Pull complete
890640a944c4: Pull complete
6766c4c0cc4f: Pull complete
247d483f294e: Pull complete
99563ff7137e: Pull complete
3936eba08eb5: Pull complete
0c795ce9c59e: Pull complete
5a00c5201291: Pull complete
a96c7c68c126: Pull complete
9f2c897a0e7e: Pull complete
f7c94047f45c: Pull complete
f7b9250a5fc3: Pull complete
0e0499e8aa6b: Pull complete
d464bcca7ec4: Pull complete
Digest: sha256:4091a781b5629d9f6849fa5dbd68ec7a926cf3cc8a86fdc74bb667126d43a5aa
Status: Downloaded newer image for ghcr.io/esri/arcgis-python-api-notebook@sha256:4091a781b5629d9f6849fa5dbd68ec7a926cf3cc8a86fdc74bb667126d43a5aa
Entered start.sh with args: bash
Running hooks in: /usr/local/bin/start-notebook.d as uid: 1000 gid: 100
Done running hooks in: /usr/local/bin/start-notebook.d
Running hooks in: /usr/local/bin/before-notebook.d as uid: 1000 gid: 100
Sourcing shell script: /usr/local/bin/before-notebook.d/10activate-conda-env.sh
Done running hooks in: /usr/local/bin/before-notebook.d
Executing the command: bash
  • correct arcgis versions were being pulled from pypi:
    image

  • gdal pulled from conda-forge:
    image

  • geometry engine selected is gdal:
    image

  • and jupyter lab works as well:
    image

@kgalliher
Copy link
Collaborator

Looks good on my side too:
image

@jtroe jtroe merged commit 39aef93 into master Apr 21, 2025
2 checks passed
@jtroe jtroe deleted the docker-2.4.1 branch April 21, 2025 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants