diff --git a/.github/workflows/lock.yaml b/.github/workflows/lock.yaml index 2f5e1c8..3f5a74a 100644 --- a/.github/workflows/lock.yaml +++ b/.github/workflows/lock.yaml @@ -12,10 +12,10 @@ jobs: name: 🔒 Lock closed issues and PRs runs-on: ubuntu-latest steps: - - uses: dessant/lock-threads@v3.0.0 + - uses: dessant/lock-threads@v2.1.2 with: github-token: ${{ github.token }} - issue-inactive-days: "30" + issue-lock-inactive-days: "30" issue-lock-reason: "" - pr-inactive-days: "1" + pr-lock-inactive-days: "1" pr-lock-reason: "" diff --git a/mopidy/Dockerfile b/mopidy/Dockerfile index c16f449..a5c50a9 100755 --- a/mopidy/Dockerfile +++ b/mopidy/Dockerfile @@ -1,4 +1,4 @@ -ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base/amd64:5.1.1 +ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base/amd64:4.2.2 # hadolint ignore=DL3006 FROM ${BUILD_FROM} @@ -13,11 +13,11 @@ RUN \ apt-get update \ \ && apt-get install -y --no-install-recommends \ - dirmngr=2.2.27-2 \ - gpg-agent=2.2.27-2 \ - gpg=2.2.27-2 \ - nginx=1.18.0-6.1 \ - git=1:2.30.2-1 \ + dirmngr=2.2.12-1+deb10u1 \ + gpg-agent=2.2.12-1+deb10u1 \ + gpg=2.2.12-1+deb10u1 \ + nginx=1.14.2-2+deb10u4 \ + git=1:2.20.1-2+deb10u3 \ \ && curl -L https://apt.mopidy.com/mopidy.gpg | apt-key add - \ && curl -L https://apt.mopidy.com/mopidy.list -o /etc/apt/sources.list.d/mopidy.list \ @@ -25,30 +25,30 @@ RUN \ && apt-get update \ \ && apt-get install -y --no-install-recommends \ - libffi-dev=3.3-6 \ - libxml2-dev=2.9.10+dfsg-6.7 \ - libxslt1-dev=1.1.34-4 \ - libasound2-dev=1.2.4-1.1 \ + libffi-dev=3.2.1-9 \ + libxml2-dev=2.9.4+dfsg1-7+deb10u2 \ + libxslt1-dev=1.1.32-2.2~deb10u1 \ + libasound2-dev=1.1.8-1 \ libspotify12=12.1.51-1 \ libspotify-dev=12.1.51-1 \ - zlib1g-dev=1:1.2.11.dfsg-2 \ - build-essential=12.9 \ - python3-dev=3.9.2-3 \ - python3-gi=3.38.0-2 \ - python3-gst-1.0=1.18.3-1 \ - gstreamer1.0-alsa=1.18.4-2 \ - gstreamer1.0-plugins-bad=1.18.4-3 \ - gstreamer1.0-plugins-good=1.18.4-2 \ - gstreamer1.0-plugins-ugly=1.18.4-2 \ - gstreamer1.0-pulseaudio=1.18.4-2 \ + zlib1g-dev=1:1.2.11.dfsg-1 \ + build-essential=12.6 \ + python3-dev=3.7.3-1 \ + python3-gi=3.30.4-1 \ + python3-gst-1.0=1.14.4-1+b1 \ + gstreamer1.0-alsa=1.14.4-2+deb10u1 \ + gstreamer1.0-plugins-bad=1.14.4-1+deb10u2 \ + gstreamer1.0-plugins-good=1.14.4-1+deb10u1 \ + gstreamer1.0-plugins-ugly=1.14.4-1+deb10u1 \ + gstreamer1.0-pulseaudio=1.14.4-1+deb10u1 \ \ && curl https://bootstrap.pypa.io/get-pip.py | python3 \ && pip3 install --no-cache-dir -r /tmp/requirements.txt \ \ - && find /usr/local \ - \( -type d -a -name test -o -name tests -o -name '__pycache__' \) \ - -o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \ - -exec rm -rf '{}' + \ + && find /usr/local/lib/python3.7/ -type d -name tests -depth -exec rm -rf {} \; \ + && find /usr/local/lib/python3.7/ -type d -name test -depth -exec rm -rf {} \; \ + && find /usr/local/lib/python3.7/ -name __pycache__ -depth -exec rm -rf {} \; \ + && find /usr/local/lib/python3.7/ -name "*.pyc" -depth -exec rm -f {} \; \ \ && apt-get purge -y --auto-remove \ dirmngr \ diff --git a/mopidy/build.json b/mopidy/build.json index 1f52b14..33b71a9 100644 --- a/mopidy/build.json +++ b/mopidy/build.json @@ -1,5 +1,5 @@ { "build_from": { - "amd64": "ghcr.io/hassio-addons/debian-base/amd64:5.1.1" + "amd64": "ghcr.io/hassio-addons/debian-base/amd64:4.2.2" } }