Skip to content

Commit ca9caac

Browse files
authored
Merge pull request #1863 from Esri/JR/notebook-base-image
use updated jupyter base-notebook image
2 parents e60666d + 289de18 commit ca9caac

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

.github/workflows/DockerBuild.LambdaBaseImage.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
version:
88
description: "Version of ArcGIS API for Python to install in the image"
99
type: string
10-
default: "2.3.0"
10+
default: "2.3.1"
1111
python_version:
1212
description: "Python version to base image on"
1313
type: string
@@ -28,22 +28,22 @@ jobs:
2828

2929
steps:
3030
- name: Checkout code
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232

3333
- name: Set up Docker Buildx
3434
id: buildx
35-
uses: docker/setup-buildx-action@v2
35+
uses: docker/setup-buildx-action@v3
3636

3737
- name: Login to Github Packages
38-
uses: docker/login-action@v2
38+
uses: docker/login-action@v3
3939
with:
4040
registry: ghcr.io
4141
username: ${{ github.actor }}
4242
password: ${{ secrets.GITHUB_TOKEN }}
4343

4444
- name: Docker meta
4545
id: meta
46-
uses: docker/metadata-action@v4
46+
uses: docker/metadata-action@v5
4747
with:
4848
images: |
4949
ghcr.io/esri/arcgis-python-api-lambda
@@ -55,7 +55,7 @@ jobs:
5555
5656
- id: docker_build
5757
name: Build image and push to GitHub Container Registry
58-
uses: docker/build-push-action@v4
58+
uses: docker/build-push-action@v6
5959
with:
6060
# relative path to the place where source code with Dockerfile is located
6161
context: .

.github/workflows/DockerBuild.NotebookImage.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ on:
77
version:
88
description: "Version of ArcGIS API for Python to install in the image"
99
type: string
10-
default: "2.2.0"
10+
default: "2.3.1"
1111
python_version:
1212
description: "Python version to base image on"
1313
type: string
14-
default: "3.9"
14+
default: "3.11"
1515
is_latest_release:
1616
description: "Version of ArcGIS API for Python is Latest current release"
1717
type: boolean
@@ -32,18 +32,18 @@ jobs:
3232

3333
- name: Set up Docker Buildx
3434
id: buildx
35-
uses: docker/setup-buildx-action@v2
35+
uses: docker/setup-buildx-action@v3
3636

3737
- name: Login to Github Packages
38-
uses: docker/login-action@v2
38+
uses: docker/login-action@v3
3939
with:
4040
registry: ghcr.io
4141
username: ${{ github.actor }}
4242
password: ${{ secrets.GITHUB_TOKEN }}
4343

4444
- name: Docker meta
4545
id: meta
46-
uses: docker/metadata-action@v4
46+
uses: docker/metadata-action@v5
4747
with:
4848
images: |
4949
ghcr.io/esri/arcgis-python-api-notebook
@@ -55,7 +55,7 @@ jobs:
5555
5656
- id: docker_build
5757
name: Build image and push to GitHub Container Registry
58-
uses: docker/build-push-action@v4
58+
uses: docker/build-push-action@v6
5959
with:
6060
# relative path to the place where source code with Dockerfile is located
6161
context: ./docker

docker/LambdaBaseImage.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ LABEL org.opencontainers.image.source=https://github.com/esri/arcgis-python-api
1111
# install dependencies, then clean yum cache
1212
RUN yum -y install gcc gcc-c++ krb5-devel krb5-server krb5-libs && yum clean all && rm -rf /var/cache/yum
1313
# install arcgis
14-
ARG arcgis_version="2.3.0"
14+
ARG arcgis_version="2.3.1"
1515
# adding .* ensures the latest patch version is installed
1616
RUN pip3 install "arcgis==${arcgis_version}.*" --target "${LAMBDA_TASK_ROOT}" && rm -rf /root/.cache/pip
1717
# set entrypoint to app.py handler method

docker/NotebookImage.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
ARG python_version="3.9"
2-
FROM jupyter/base-notebook:python-${python_version}
1+
ARG python_version="3.11"
2+
FROM quay.io/jupyter/base-notebook:python-${python_version}
33

44
ARG python_version
5-
ARG arcgis_version="2.2.0"
5+
ARG arcgis_version="2.3.1"
66
ARG sampleslink="https://github.com/Esri/arcgis-python-api/releases/download/v${arcgis_version}/samples.zip"
77
ARG githubfolder="arcgis-python-api"
88
ENV DOCKER_STACKS_JUPYTER_CMD="notebook"

0 commit comments

Comments
 (0)