diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml index 3a55ac7..7c4cacf 100644 --- a/.github/workflows/build-docker-image.yml +++ b/.github/workflows/build-docker-image.yml @@ -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 diff --git a/Docker/PlexAniSync/Dockerfile b/Docker/PlexAniSync/Dockerfile index 1654e32..c1b177f 100644 --- a/Docker/PlexAniSync/Dockerfile +++ b/Docker/PlexAniSync/Dockerfile @@ -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 @@ -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