Merge pull request #43 from snh/bullseye

Bump base to bullseye
pull/46/head
Steven Honson 2022-08-29 21:32:47 +10:00 zatwierdzone przez GitHub
commit 36d9948a22
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -48,7 +48,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64, linux/386, linux/arm64, linux/arm/v7
platforms: linux/amd64, linux/386, linux/arm64, linux/arm/v6, linux/arm/v7
cache-from: type=local,src=/tmp/buildx-cache
cache-to: type=local,dest=/tmp/buildx-cache-new,mode=max
push: ${{ github.event_name != 'pull_request' }}

Wyświetl plik

@ -1,7 +1,7 @@
# -------------------
# The build container
# -------------------
FROM python:3.7-buster AS build
FROM python:3.9-bullseye AS build
# Upgrade base packages.
RUN apt-get update && \
@ -35,7 +35,7 @@ RUN unzip /root/cusf_predictor_wrapper-master.zip -d /root && \
# -------------------------
# The application container
# -------------------------
FROM python:3.7-slim-buster
FROM python:3.9-slim-bullseye
EXPOSE 5001/tcp
# Upgrade base packages and install application dependencies.