Skip to content

Commit

Permalink
Test python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
reconman authored May 12, 2024
1 parent e2481b4 commit 1951b39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ jobs:
echo "DOCKER_IO=true" >> $GITHUB_ENV
fi
if [[ ${{ inputs.eventname }} == 'pull_request' ]]; then
echo "PLATFORMS=linux/amd64" >> $GITHUB_ENV
else
echo "PLATFORMS=${{ inputs.platforms }}" >> $GITHUB_ENV
fi
echo "PLATFORMS=${{ inputs.platforms }}" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up QEMU
Expand Down
5 changes: 3 additions & 2 deletions Docker/PlexAniSync/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM python:3.11 AS builder
FROM python:3.12 AS builder

RUN apt-get update && \
apt-get install -y \
build-essential \
rustc \
&& apt-get clean && rm -rf /var/lib/apt/lists/*

RUN pip install --upgrade pip
Expand All @@ -11,7 +12,7 @@ COPY requirements.txt .
# install dependencies to the local user directory (eg. /root/.local)
RUN pip install --user --no-warn-script-location -r requirements.txt

FROM python:3.11-slim
FROM python:3.12-slim

WORKDIR /plexanisync

Expand Down

0 comments on commit 1951b39

Please sign in to comment.