Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker build fails with an exit status 1 #36

Closed
amolinae06 opened this issue May 1, 2024 · 2 comments
Closed

Docker build fails with an exit status 1 #36

amolinae06 opened this issue May 1, 2024 · 2 comments

Comments

@amolinae06
Copy link

amolinae06 commented May 1, 2024

Hello, I am trying to build an image of this container for private use however whenever I try to build the image it fails and shows the following error

[2/3] STEP 9/11: RUN   if [ "${QBT_VERSION}" = "devel" ]; then     git clone       --depth 1       --recurse-submodules       https://github.com/qbittorrent/qBittorrent.git &&     cd qBittorrent ;   else     wget "https://github.com/qbittorrent/qBittorrent/archive/refs/tags/release-${QBT_VERSION}.tar.gz" &&     tar -xf "release-${QBT_VERSION}.tar.gz" &&     cd "qBittorrent-release-${QBT_VERSION}" ;   fi &&   cmake     -B build     -G Ninja     -DCMAKE_BUILD_TYPE=RelWithDebInfo     -DCMAKE_INSTALL_PREFIX=/usr     -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON     -DGUI=OFF     -DQT6=ON &&   cmake --build build -j $(nproc) &&   cmake --install build
Connecting to github.com (140.82.114.4:443)
Connecting to codeload.github.com (140.82.112.9:443)
wget: server returned error: HTTP/1.1 404 Not Found
Error: building at STEP "RUN if [ "${QBT_VERSION}" = "devel" ]; then     git clone       --depth 1       --recurse-submodules       https://github.com/qbittorrent/qBittorrent.git &&     cd qBittorrent ;   else     wget "https://github.com/qbittorrent/qBittorrent/archive/refs/tags/release-${QBT_VERSION}.tar.gz" &&     tar -xf "release-${QBT_VERSION}.tar.gz" &&     cd "qBittorrent-release-${QBT_VERSION}" ;   fi &&   cmake     -B build     -G Ninja     -DCMAKE_BUILD_TYPE=RelWithDebInfo     -DCMAKE_INSTALL_PREFIX=/usr     -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON     -DGUI=OFF     -DQT6=ON &&   cmake --build build -j $(nproc) &&   cmake --install build": while running runtime: exit status 1

Any idea?

@amolinae06
Copy link
Author

Tried building both manual_builds and the dockerfile provided on the repo's root directory.

@Chocobo1
Copy link
Member

Chocobo1 commented May 2, 2024

Have you set up QBT_VERSION variable correctly?
Have you seen the instructions? https://github.com/qbittorrent/docker-qbittorrent-nox/tree/main/manual_build#building-docker-image

@Chocobo1 Chocobo1 closed this as not planned Won't fix, can't repro, duplicate, stale May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants