From 62ead10480e2172563aa71dae6f364425515c948 Mon Sep 17 00:00:00 2001 From: Casey Jao Date: Thu, 16 Jan 2025 17:57:08 +0000 Subject: [PATCH] Add debian-py312 base image --- .github/workflows/publish.yml | 5 +---- debian12-py312/Dockerfile | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 debian12-py312/Dockerfile diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8df8771..cc71dd7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,12 +27,9 @@ jobs: fail-fast: false matrix: image: - - debian11-py39 - - debian11-py310 - - debian11-py311 - - debian12-py39 - debian12-py310 - debian12-py311 + - debian12-py312 steps: - name: Check out master uses: actions/checkout@v3 diff --git a/debian12-py312/Dockerfile b/debian12-py312/Dockerfile new file mode 100644 index 0000000..32fc67c --- /dev/null +++ b/debian12-py312/Dockerfile @@ -0,0 +1,25 @@ +# Copyright 2025 Agnostiq Inc. +# +# This file is part of Covalent. +# +# Licensed under the Apache License 2.0 (the "License"). A copy of the +# License may be obtained with this software package or at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Use of this file is prohibited except in compliance with the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# syntax=docker/dockerfile:1 +FROM python:3.12-bookworm + +RUN apt-get update \ + && apt-get install -y --no-install-recommends curl gcc git rsync vim \ + && curl -sL https://deb.nodesource.com/setup_20.x | bash - \ + && apt-get install -y nodejs \ + && npm install --global yarn \ + && rm -rf /var/lib/apt/lists/*