We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I was able to build harbor-arm successfully up until the last step, building the image. It fails because of its dependence upon Debian Stretch.
Last Step: make build GOBUILDTAGS="include_oss include_gcs" BUILDBIN=true NOTARYFLAG=true TRIVYFLAG=true CHARTFLAG=true GEN_TLS=true PULL_BASE_FROM_DOCKERHUB=false
make build GOBUILDTAGS="include_oss include_gcs" BUILDBIN=true NOTARYFLAG=true TRIVYFLAG=true CHARTFLAG=true GEN_TLS=true PULL_BASE_FROM_DOCKERHUB=false
This is the output of the last task from the last step before it failed:
ERROR: failed to solve: process "/bin/sh -c tdnf install -y shadow gzip postgresql13 findutils bc >> /dev/null && groupadd -r postgres --gid=999 && useradd -m -r -g postgres --uid=999 postgres && mkdir -p /docker-entrypoint-initdb.d && mkdir -p /run/postgresql && chown -R postgres:postgres /run/postgresql && chmod 2777 /run/postgresql && mkdir -p \"$PGDATA\" && chown -R postgres:postgres \"$PGDATA\" && chmod 777 \"$PGDATA\" && sed -i \"s|#listen_addresses = 'localhost'.*|listen_addresses = '*'|g\" /usr/pgsql/13/share/postgresql.conf.sample && sed -i \"s|#unix_socket_directories = '/tmp'.*|unix_socket_directories = '/run/postgresql'|g\" /usr/pgsql/13/share/postgresql.conf.sample && ln -s /usr/pgsql/13/bin/* /usr/bin/ && tdnf clean all" did not complete successfully: exit code: 9 building db container for photon... #0 building with "default" instance using docker driver #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 1.69kB done #1 DONE 0.0s #2 [internal] load metadata for docker.io/library/node:15.4.0 #2 ... #3 [internal] load metadata for docker.io/goharbor/harbor-portal-base:dev-arm #3 DONE 0.8s #2 [internal] load metadata for docker.io/library/node:15.4.0 #2 DONE 0.8s #4 [internal] load .dockerignore #4 transferring context: 132B done #4 DONE 0.0s #5 [nodeportal 1/18] FROM docker.io/library/node:15.4.0@sha256:a76eb778d162f8fd96138d9ca7dbd14b8916c201775a97d2f2aa22e9f13eb105 #5 DONE 0.0s #6 [stage-1 1/3] FROM docker.io/goharbor/harbor-portal-base:dev-arm@sha256:e9ecd828f05fc996846e968a64139934d0e23f331aaf299b31b8ea7290ccc169 #6 CACHED #7 [nodeportal 2/18] WORKDIR /build_dir #7 CACHED #8 [internal] load build context #8 transferring context: 4.44MB 0.3s done #8 DONE 0.3s #9 [nodeportal 3/18] RUN apt-get update && apt-get install -y --no-install-recommends python-yaml=3.12-1 #9 0.538 Ign:1 http://security.debian.org/debian-security stretch/updates InRelease #9 0.553 Ign:2 http://deb.debian.org/debian stretch InRelease #9 0.573 Ign:3 http://security.debian.org/debian-security stretch/updates Release #9 0.589 Ign:4 http://deb.debian.org/debian stretch-updates InRelease #9 0.607 Ign:5 http://security.debian.org/debian-security stretch/updates/main all Packages #9 0.619 Ign:6 http://deb.debian.org/debian stretch Release #9 0.643 Ign:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages #9 0.653 Ign:8 http://deb.debian.org/debian stretch-updates Release #9 0.679 Ign:5 http://security.debian.org/debian-security stretch/updates/main all Packages #9 0.709 Ign:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages #9 0.752 Ign:5 http://security.debian.org/debian-security stretch/updates/main all Packages #9 0.788 Ign:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages #9 0.817 Ign:5 http://security.debian.org/debian-security stretch/updates/main all Packages #9 0.836 Ign:9 http://deb.debian.org/debian stretch/main all Packages #9 0.852 Ign:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages #9 0.866 Ign:10 http://deb.debian.org/debian stretch/main arm64 Packages #9 0.891 Ign:5 http://security.debian.org/debian-security stretch/updates/main all Packages #9 0.927 Ign:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages #9 0.959 Ign:5 http://security.debian.org/debian-security stretch/updates/main all Packages #9 0.988 Err:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages #9 0.988 404 Not Found #9 1.042 Ign:11 http://deb.debian.org/debian stretch-updates/main arm64 Packages #9 1.226 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages #9 1.409 Ign:9 http://deb.debian.org/debian stretch/main all Packages #9 1.585 Ign:10 http://deb.debian.org/debian stretch/main arm64 Packages #9 1.764 Ign:11 http://deb.debian.org/debian stretch-updates/main arm64 Packages #9 1.946 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages #9 2.132 Ign:9 http://deb.debian.org/debian stretch/main all Packages #9 2.316 Ign:10 http://deb.debian.org/debian stretch/main arm64 Packages #9 2.496 Ign:11 http://deb.debian.org/debian stretch-updates/main arm64 Packages #9 2.675 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages #9 2.852 Ign:9 http://deb.debian.org/debian stretch/main all Packages #9 3.032 Ign:10 http://deb.debian.org/debian stretch/main arm64 Packages #9 3.222 Ign:11 http://deb.debian.org/debian stretch-updates/main arm64 Packages #9 3.398 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages #9 3.578 Ign:9 http://deb.debian.org/debian stretch/main all Packages #9 3.760 Ign:10 http://deb.debian.org/debian stretch/main arm64 Packages #9 3.937 Ign:11 http://deb.debian.org/debian stretch-updates/main arm64 Packages #9 4.116 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages #9 4.300 Ign:9 http://deb.debian.org/debian stretch/main all Packages #9 4.513 Err:10 http://deb.debian.org/debian stretch/main arm64 Packages #9 4.513 404 Not Found #9 4.725 Err:11 http://deb.debian.org/debian stretch-updates/main arm64 Packages #9 4.725 404 Not Found #9 4.905 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages #9 4.912 Reading package lists... #9 4.929 W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file. #9 4.929 W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file. #9 4.929 W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file. #9 4.929 E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-arm64/Packages 404 Not Found #9 4.929 E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-arm64/Packages 404 Not Found #9 4.929 E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-arm64/Packages 404 Not Found #9 4.929 E: Some index files failed to download. They have been ignored, or old ones used instead. #9 ERROR: process "/bin/sh -c apt-get update && apt-get install -y --no-install-recommends python-yaml=3.12-1" did not complete successfully: exit code: 100 ------ > [nodeportal 3/18] RUN apt-get update && apt-get install -y --no-install-recommends python-yaml=3.12-1: 4.725 404 Not Found 4.905 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages 4.912 Reading package lists... 4.929 W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file. 4.929 W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file. 4.929 W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file. 4.929 E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-arm64/Packages 404 Not Found 4.929 E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-arm64/Packages 404 Not Found 4.929 E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-arm64/Packages 404 Not Found 4.929 E: Some index files failed to download. They have been ignored, or old ones used instead. ------ Dockerfile:9 -------------------- 8 | 9 | >>> RUN apt-get update \ 10 | >>> && apt-get install -y --no-install-recommends python-yaml=3.12-1 11 | -------------------- ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y --no-install-recommends python-yaml=3.12-1" did not complete successfully: exit code: 100 make[2]: *** [/home/celes/sources/harbor-arm/src/github.com/goharbor/harbor/make/photon/Makefile:142: _build_portal] Error 1 make[2]: Leaving directory '/home/celes/sources/harbor-arm/src/github.com/goharbor/harbor' make[1]: *** [Makefile:419: build] Error 2 make[1]: Leaving directory '/home/celes/sources/harbor-arm/src/github.com/goharbor/harbor' make: *** [Makefile:190: build] Error 2
Specifically:
#9 0.988 Err:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages #9 0.988 404 Not Found
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue
I was able to build harbor-arm successfully up until the last step, building the image. It fails because of its dependence upon Debian Stretch.
TLDR Resolution
Logs
Last Step:
make build GOBUILDTAGS="include_oss include_gcs" BUILDBIN=true NOTARYFLAG=true TRIVYFLAG=true CHARTFLAG=true GEN_TLS=true PULL_BASE_FROM_DOCKERHUB=false
This is the output of the last task from the last step before it failed:
Specifically:
The text was updated successfully, but these errors were encountered: