RandomNinjaAtk / docker-lidarr-extended

lidarr-extended :: Lidarr application packaged with multiple scripts to provide additional functionality
GNU General Public License v3.0
275 stars 24 forks source link

[Bug]: Docker Images for ARM not build anymore? #225

Closed RandomUser345 closed 1 year ago

RandomUser345 commented 1 year ago

Describe the bug It seems the docker images for ARM are not build/tagged correctly anymore.

To Reproduce Check the docker registry here: https://hub.docker.com/r/randomninjaatk/lidarr-extended/tags. Latest x64 is 2 days old, latest arm v7 or arm v8 is 23 days old. An updated version shows up in the latest tag for all architectures, but when I do a docker pull randomninjaatk/lidarr-extended:latest it's still pulling the 23day old version.

Expected behavior docker image is updated for all architectures

Log Data On a armv8: docker pull randomninjaatk/lidarr-extended:latest latest: Pulling from randomninjaatk/lidarr-extended Digest: sha256:a5a5d59c8d34bbda62fe604bca0427f3e930a884c847a7af1b1dfda3f31f4813 //this is the 23day old version Status: Image is up to date for randomninjaatk/lidarr-extended:latest docker.io/randomninjaatk/lidarr-extended:latest

Docker Info:

Additional context none

RandomNinjaAtk commented 1 year ago

Yeah, arm is broken. I don't know why, since nothing changed...

maxpfandl commented 1 year ago

I think I found the issue:

#0 56.27   Installing build dependencies: started
#0 64.40   Installing build dependencies: finished with status 'done'
#0 64.41   Getting requirements to build wheel: started
#0 64.70   Getting requirements to build wheel: finished with status 'done'
#0 64.70   Preparing metadata (pyproject.toml): started
#0 64.99   Preparing metadata (pyproject.toml): finished with status 'error'
#0 65.02   error: subprocess-exited-with-error
#0 65.02
#0 65.02   × Preparing metadata (pyproject.toml) did not run successfully.
#0 65.02   │ exit code: 1
#0 65.02   ╰─> [6 lines of output]
#0 65.02
#0 65.02       Cargo, the Rust package manager, is not installed or is not on PATH.
#0 65.02       This package requires Rust and Cargo to compile extensions. Install it through
#0 65.02       the system's package manager or via https://rustup.rs/
#0 65.02
#0 65.02       Checking for Rust toolchain....
#0 65.02       [end of output]
#0 65.02
#0 65.02   note: This error originates from a subprocess, and is likely not a problem with pip.
#0 65.03 error: metadata-generation-failed
#0 65.03
#0 65.03 × Encountered error while generating package metadata.
#0 65.03 ╰─> See above for output.
#0 65.03
#0 65.03 note: This is an issue with the package mentioned above, not pip.
#0 65.03 hint: See above for details.
------
arm64v8.dockerfile:46
--------------------
  45 |
  46 | >>> RUN \
  47 | >>>      echo "*** install packages ***" && \
  48 | >>>      apk add -U --upgrade --no-cache \
  49 | >>>              tidyhtml \
  50 | >>>              musl-locales \
  51 | >>>              musl-locales-lang \
  52 | >>>              flac \
  53 | >>>              jq \
  54 | >>>              git \
  55 | >>>              gcc \
  56 | >>>              opus-tools \
  57 | >>>              ffmpeg \
  58 | >>>              python3-dev \
  59 | >>>              libc-dev \
  60 | >>>              py3-pip \
  61 | >>>              yt-dlp && \
  62 | >>>      echo "*** install python packages ***" && \
  63 | >>>      pip install --upgrade --no-cache-dir \
  64 | >>>              yq \
  65 | >>>              pyacoustid \
  66 | >>>              requests \
  67 | >>>              beets \
  68 | >>>              mutagen \
  69 | >>>              r128gain \
  70 | >>>              tidal-dl \
  71 | >>>              deemix && \
  72 | >>>      echo "************ setup SMA ************" && \
  73 | >>>      echo "************ setup directory ************" && \
  74 | >>>      mkdir -p ${SMA_PATH} && \
  75 | >>>      echo "************ download repo ************" && \
  76 | >>>      git clone https://github.com/mdhiggins/sickbeard_mp4_automator.git ${SMA_PATH} && \
  77 | >>>      mkdir -p ${SMA_PATH}/config && \
  78 | >>>      echo "************ create logging file ************" && \
  79 | >>>      mkdir -p ${SMA_PATH}/config && \
  80 | >>>      touch ${SMA_PATH}/config/sma.log && \
  81 | >>>      chgrp users ${SMA_PATH}/config/sma.log && \
  82 | >>>      chmod g+w ${SMA_PATH}/config/sma.log && \
  83 | >>>      echo "************ install pip dependencies ************" && \
  84 | >>>      python3 -m pip install --user --upgrade pip && \
  85 | >>>      pip3 install -r ${SMA_PATH}/setup/requirements.txt
  86 |
--------------------
ERROR: failed to solve: process "/bin/sh -c echo \"*** install packages ***\" && \tapk add -U --upgrade --no-cache \t\ttidyhtml \t\tmusl-locales \t\tmusl-locales-lang \t\tflac \t\tjq \t\tgit \t\tgcc \t\topus-tools \t\tffmpeg \t\tpython3-dev \t\tlibc-dev \t\tpy3-pip \t\tyt-dlp && \techo \"*** install python packages ***\" && \tpip install --upgrade --no-cache-dir \t\tyq \t\tpyacoustid \t\trequests \t\tbeets \t\tmutagen \t\tr128gain \t\ttidal-dl \t\tdeemix && \techo \"************ setup SMA ************\" && \techo \"************ setup directory ************\" && \tmkdir -p ${SMA_PATH} && \techo \"************ download repo ************\" && \tgit clone https://github.com/mdhiggins/sickbeard_mp4_automator.git ${SMA_PATH} && \tmkdir -p ${SMA_PATH}/config && \techo \"************ create logging file ************\" && \tmkdir -p ${SMA_PATH}/config && \ttouch ${SMA_PATH}/config/sma.log && \tchgrp users ${SMA_PATH}/config/sma.log && \tchmod g+w ${SMA_PATH}/config/sma.log && \techo \"************ install pip dependencies ************\" && \tpython3 -m pip install --user --upgrade pip && \tpip3 install -r ${SMA_PATH}/setup/requirements.txt" did not complete successfully: exit code: 1
RandomNinjaAtk commented 1 year ago

Resolved by the PR