From 1918ec2a667570637fa9c16a459bb55879c1e1d5 Mon Sep 17 00:00:00 2001 From: Brad Macdonald <52762200+BWMac@users.noreply.github.com> Date: Thu, 26 Sep 2024 11:20:44 -0600 Subject: [PATCH] [SYNPY-1524] Updates `Dockerfile` (#1137) * set python version for ghcr, test build * uncomment line * adds for develop * revert last * updates dockerfile * remove whitespace * remove 3.9 setting * change to 3.9-slim --- .github/workflows/build.yml | 6 ------ Dockerfile | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b68598b7..a35ffff4f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -462,9 +462,6 @@ jobs: steps: - name: Check out the repo uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: 3.9 - name: Extract Release Version run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV shell: bash @@ -518,9 +515,6 @@ jobs: steps: - name: Check out the repo uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: 3.9 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - name: Log in to GitHub Container Registry diff --git a/Dockerfile b/Dockerfile index 72e30702f..9b324fc9a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:20.04 +FROM python:3.9-slim RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections RUN apt-get update \