diff --git a/3.10/Dockerfile b/3.10/Dockerfile index 095885a..a50af6e 100644 --- a/3.10/Dockerfile +++ b/3.10/Dockerfile @@ -9,7 +9,7 @@ RUN apt-get update && \ curl \ ca-certificates \ gnupg && \ - pip3 install --no-cache-dir --upgrade pip==25.1.1 && \ + pip3 install --no-cache-dir --upgrade pip && \ apt-get -q -y clean && \ rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* @@ -18,7 +18,7 @@ RUN mkdir -p /etc/apt/keyrings && \ echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \ apt-get update && \ apt-get install -y nodejs && \ - npm install -g serverless@3.36.0 && \ + npm install -g serverless@3.40.0 && \ npm install -g serverless-compose@2.4.0 && \ apt-get -q -y clean && \ rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* diff --git a/3.11/Dockerfile b/3.11/Dockerfile index 806dde4..322d194 100644 --- a/3.11/Dockerfile +++ b/3.11/Dockerfile @@ -9,7 +9,7 @@ RUN apt-get update && \ curl \ ca-certificates \ gnupg && \ - pip3 install --no-cache-dir --upgrade pip==25.1.1 && \ + pip3 install --no-cache-dir --upgrade pip && \ apt-get -q -y clean && \ rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* @@ -18,7 +18,7 @@ RUN mkdir -p /etc/apt/keyrings && \ echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \ apt-get update && \ apt-get install -y nodejs && \ - npm install -g serverless@3.36.0 && \ + npm install -g serverless@3.40.0 && \ npm install -g serverless-compose@2.4.0 && \ apt-get -q -y clean && \ rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* diff --git a/3.12/Dockerfile b/3.12/Dockerfile index 23c837f..af9e65c 100644 --- a/3.12/Dockerfile +++ b/3.12/Dockerfile @@ -9,7 +9,7 @@ RUN apt-get update && \ curl \ ca-certificates \ gnupg && \ - pip3 install --no-cache-dir --upgrade pip==25.1.1 && \ + pip3 install --no-cache-dir --upgrade pip && \ apt-get -q -y clean && \ rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* @@ -18,7 +18,7 @@ RUN mkdir -p /etc/apt/keyrings && \ echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \ apt-get update && \ apt-get install -y nodejs && \ - npm install -g serverless@3.36.0 && \ + npm install -g serverless@3.40.0 && \ npm install -g serverless-compose@2.4.0 && \ apt-get -q -y clean && \ rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* diff --git a/3.13/Dockerfile b/3.13/Dockerfile new file mode 100644 index 0000000..ba7516f --- /dev/null +++ b/3.13/Dockerfile @@ -0,0 +1,28 @@ +FROM python:3.13-slim-bookworm + +RUN apt-get update && \ + apt-get install -y \ + wget \ + zip \ + unzip \ + git \ + curl \ + ca-certificates \ + gnupg && \ + pip3 install --no-cache-dir --upgrade pip && \ + apt-get -q -y clean && \ + rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* + +RUN mkdir -p /etc/apt/keyrings && \ + curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \ + echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \ + apt-get update && \ + apt-get install -y nodejs && \ + npm install -g serverless@3.40.0 && \ + npm install -g serverless-compose@2.4.0 && \ + apt-get -q -y clean && \ + rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* + +WORKDIR /work + +ENTRYPOINT ["/bin/sh"] diff --git a/3.9/Dockerfile b/3.9/Dockerfile index 604a343..a598969 100644 --- a/3.9/Dockerfile +++ b/3.9/Dockerfile @@ -9,7 +9,7 @@ RUN apt-get update && \ curl \ ca-certificates \ gnupg && \ - pip3 install --no-cache-dir --upgrade pip==25.1.1 && \ + pip3 install --no-cache-dir --upgrade pip && \ apt-get -q -y clean && \ rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* @@ -18,7 +18,7 @@ RUN mkdir -p /etc/apt/keyrings && \ echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \ apt-get update && \ apt-get install -y nodejs && \ - npm install -g serverless@3.36.0 && \ + npm install -g serverless@3.40.0 && \ npm install -g serverless-compose@2.4.0 && \ apt-get -q -y clean && \ rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* diff --git a/Makefile b/Makefile index d99ce1f..50ef10a 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,12 @@ build: --build-arg base_image=python:3.12-slim-bookworm \ -t ${REPO}:3.12-${IMAGE_TAG} \ ./3.12/. + + # Python 3.13 + docker build \ + --build-arg base_image=python:3.13-slim-bookworm \ + -t ${REPO}:3.13-${IMAGE_TAG} \ + ./3.13/. push: echo "Push specific tag/release" @@ -38,4 +44,7 @@ push: docker push ${REPO}:3.11-${IMAGE_TAG} # Python 3.12 - docker push ${REPO}:3.12-${IMAGE_TAG} \ No newline at end of file + docker push ${REPO}:3.12-${IMAGE_TAG} + + # Python 3.13 + docker push ${REPO}:3.13-${IMAGE_TAG} \ No newline at end of file diff --git a/test/build-images.sh b/test/build-images.sh index 8eca229..e0aa9c1 100755 --- a/test/build-images.sh +++ b/test/build-images.sh @@ -32,6 +32,12 @@ docker build \ -t ${DOCKER_REPO}:3.12-${DOCKER_TAG} \ .. +echo "Building Python 3.13..." +docker build \ + -f ../3.13/Dockerfile \ + -t ${DOCKER_REPO}:3.13-${DOCKER_TAG} \ + .. + echo "All builds completed successfully!" # List the built images