Skip to content

Commit

Permalink
Docker update
Browse files Browse the repository at this point in the history
Signed-off-by: mbw <[email protected]>
  • Loading branch information
mbwhite committed Mar 3, 2024
1 parent b31c5c0 commit 47483a1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3
- name: Setup docker builds
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: loging to ghcr
if: github.event_name != 'pull_request'
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM python:3.11-buster as builder
FROM python:3.10-buster as builder

RUN pip install --upgrade pip
RUN pip install poetry==1.8.1

ENV POETRY_NO_INTERACTION=1 \
Expand All @@ -14,7 +15,7 @@ RUN touch README.md

RUN --mount=type=cache,target=$POETRY_CACHE_DIR poetry install --no-root

FROM python:3.11-slim-buster as runtime
FROM python:3.11-slim-bullseye as runtime

ENV VIRTUAL_ENV=/app/.venv \
PATH="/app/.venv/bin:$PATH"
Expand Down
3 changes: 3 additions & 0 deletions tmp.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM ubuntu:latest as builder

RUN apt-get update

0 comments on commit 47483a1

Please sign in to comment.