Skip to content

Standalone docker build failing #171

@snotrauk

Description

@snotrauk
[1/6] STEP 1/1: FROM node:22.14.0-alpine3.21@sha256:9bef0ef1e268f60627da9ba7d7605e8831d5b56ad07487d24d1aa386336d1944 AS node
--> 33544e83793c
[2/6] STEP 1/2: FROM alpine:3.21.2@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099 AS builder-base
[2/6] STEP 2/2: RUN apk add --no-cache --update git gnupg
--> Using cache b720f0432e043d8525f72c7711bd300794fbfad4746db13bffd21386511fea9e
--> b720f0432e04
[4/6] STEP 1/1: FROM ghcr.io/joinmarket-webui/jam-contrib-dinit:0.19.4@sha256:6338f8ef4d8d8b5bceff2980b40214af73e15b7d675f6cd54ad2e542153eb988 AS dinit
--> 623e3f879e9e
[5/6] STEP 1/7: FROM b720f0432e043d8525f72c7711bd300794fbfad4746db13bffd21386511fea9e AS server-builder
[5/6] STEP 2/7: ARG SKIP_RELEASE_VERIFICATION
--> Using cache ac6ce67d415aff4347ee265f30d054a13e33485625945153176c2e0afa65e4aa
--> ac6ce67d415a
[5/6] STEP 3/7: ARG JM_SERVER_REPO
--> Using cache e9d549b06251ee150db9a09cff45f8bcffe548d4f593fd2b760362463776f897
--> e9d549b06251
[5/6] STEP 4/7: ARG JM_SERVER_REPO_REF
--> Using cache d4e1debd7367af63e251fb521e75fb2738fa2ec65dc6ac1fe1aadb63c3d15324
--> d4e1debd7367
[5/6] STEP 5/7: WORKDIR /usr/src/joinmarket-clientserver
--> Using cache dfdf3da7e4ec7b3342fd2e5f26c3968b4dc5b2e19296bef99c30e4af3c6503e5
--> dfdf3da7e4ec
[5/6] STEP 6/7: COPY pubkeys/ /pubkeys
--> Using cache b8716f26fcc56dcc678a4bc648e401988ed96dfb2b7ff8bd2513cca39dc5b4fe
--> b8716f26fcc5
[5/6] STEP 7/7: RUN git clone "$JM_SERVER_REPO" . --depth=1 --branch "$JM_SERVER_REPO_REF"     && (if [ "$SKIP_RELEASE_VERIFICATION" != "true" ]; then         find /pubkeys -iname '*.asc' -exec gpg --import "{}" \;         && git verify-tag "$JM_SERVER_REPO_REF";     fi)
Cloning into '.'...
gpg: directory '/root/.gnupg' created
gpg: key 141001A1AF77F20B: 1 signature not checked due to a missing key
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 141001A1AF77F20B: public key "Adam Gibson (CODE SIGNING KEY) <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: no ultimately trusted keys found
gpg: key 33E472FE870C7E5D: public key "Kristaps Kaupe <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: key 89C4A25E69A5DE7F: public key "Gigi <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: key E8070AF0053AAC0D: public key "theborakompanioni (no comment) <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
error: master: cannot verify a non-tag object of type commit.
[3/6] STEP 1/11: FROM b720f0432e043d8525f72c7711bd300794fbfad4746db13bffd21386511fea9e AS ui-builder
[3/6] STEP 2/11: ARG SKIP_RELEASE_VERIFICATION
Error: building at STEP "RUN git clone "$JM_SERVER_REPO" . --depth=1 --branch "$JM_SERVER_REPO_REF"     && (if [ "$SKIP_RELEASE_VERIFICATION" != "true" ]; then         find /pubkeys -iname '*.asc' -exec gpg --import "{}" \;         && git verify-tag "$JM_SERVER_REPO_REF";     fi)": while running runtime: exit status

looks like the gpg key verification is failing with "error: master: cannot verify a non-tag object of type commit."

if i run it with podman build --build-arg SKIP_RELEASE_VERIFICATION=true -t test .

then it fails at a different step


[1/6] STEP 1/1: FROM node:22.14.0-alpine3.21@sha256:9bef0ef1e268f60627da9ba7d7605e8831d5b56ad07487d24d1aa386336d1944 AS node
--> 33544e83793c
[2/6] STEP 1/2: FROM alpine:3.21.2@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099 AS builder-base
[2/6] STEP 2/2: RUN apk add --no-cache --update git gnupg
--> Using cache b720f0432e043d8525f72c7711bd300794fbfad4746db13bffd21386511fea9e
--> b720f0432e04
[3/6] STEP 1/11: FROM b720f0432e043d8525f72c7711bd300794fbfad4746db13bffd21386511fea9e AS ui-builder
[3/6] STEP 2/11: ARG SKIP_RELEASE_VERIFICATION
--> Using cache ac6ce67d415aff4347ee265f30d054a13e33485625945153176c2e0afa65e4aa
--> ac6ce67d415a
[3/6] STEP 3/11: ARG JAM_REPO
--> Using cache 7ea89f2c6ab6e311a132b03b75b8c604c0bdec9fe743ab629cb35440530a6f6e
--> 7ea89f2c6ab6
[3/6] STEP 4/11: ARG JAM_REPO_REF
--> Using cache b27e4815ad13b30961cc03473ac8074469ec9710fa096e35e32bd87a03ba0902
--> b27e4815ad13
[3/6] STEP 5/11: COPY --from=node /usr/lib /usr/lib
--> Using cache cf6ded7b09f840555f1b1a7056615af444dc82aea06e069dec831552119b8e3a
--> cf6ded7b09f8
[3/6] STEP 6/11: COPY --from=node /usr/local/lib /usr/local/lib
--> Using cache c355d238357a7fd8da2eb48b975ac1d25d8594ceee84427f40756ed01448a7fb
--> c355d238357a
[3/6] STEP 7/11: COPY --from=node /usr/local/include /usr/local/include
--> Using cache 8d49e731d62b7c025cf59fb61792b527b902f4be433fa495d95505ff935b3e6c
--> 8d49e731d62b
[3/6] STEP 8/11: COPY --from=node /usr/local/bin /usr/local/bin
--> Using cache 3a772c06b424bf0e6b040167fa47f16039d6e1ada3c72e017ccc3971b00f9186
--> 3a772c06b424
[3/6] STEP 9/11: WORKDIR /usr/src/jam
--> Using cache 3df31012c4fb339a5e4eb8395a37b2be21e5caffa22c5c76879775107f69d880
--> 3df31012c4fb
[3/6] STEP 10/11: COPY pubkeys/ /pubkeys
--> Using cache 63254d0baaabb750653e24b3b96c69d4651b66e2ee53eddf14337cffbbb180a2
--> 63254d0baaab
[3/6] STEP 11/11: RUN git clone "$JAM_REPO" . --depth=1 --branch "$JAM_REPO_REF"     && (if [ "$SKIP_RELEASE_VERIFICATION" != "true" ]; then         find /pubkeys -iname '*.asc' -exec gpg --import "{}" \;         && git verify-tag "$JAM_REPO_REF";     fi)     && npm clean-install --no-fund --no-audit     && npm run build
--> Using cache 0a6b906a9802d11aa52d1f7de7b50194855a5e45739529546583b83d935c0a1a
--> 0a6b906a9802
[4/6] STEP 1/1: FROM ghcr.io/joinmarket-webui/jam-contrib-dinit:0.19.4@sha256:6338f8ef4d8d8b5bceff2980b40214af73e15b7d675f6cd54ad2e542153eb988 AS dinit
--> 623e3f879e9e
[5/6] STEP 1/7: FROM b720f0432e043d8525f72c7711bd300794fbfad4746db13bffd21386511fea9e AS server-builder
[5/6] STEP 2/7: ARG SKIP_RELEASE_VERIFICATION
--> Using cache ac6ce67d415aff4347ee265f30d054a13e33485625945153176c2e0afa65e4aa
--> ac6ce67d415a
[5/6] STEP 3/7: ARG JM_SERVER_REPO
--> Using cache e9d549b06251ee150db9a09cff45f8bcffe548d4f593fd2b760362463776f897
--> e9d549b06251
[5/6] STEP 4/7: ARG JM_SERVER_REPO_REF
--> Using cache d4e1debd7367af63e251fb521e75fb2738fa2ec65dc6ac1fe1aadb63c3d15324
--> d4e1debd7367
[5/6] STEP 5/7: WORKDIR /usr/src/joinmarket-clientserver
--> Using cache dfdf3da7e4ec7b3342fd2e5f26c3968b4dc5b2e19296bef99c30e4af3c6503e5
--> dfdf3da7e4ec
[5/6] STEP 6/7: COPY pubkeys/ /pubkeys
--> Using cache b8716f26fcc56dcc678a4bc648e401988ed96dfb2b7ff8bd2513cca39dc5b4fe
--> b8716f26fcc5
[5/6] STEP 7/7: RUN git clone "$JM_SERVER_REPO" . --depth=1 --branch "$JM_SERVER_REPO_REF"     && (if [ "$SKIP_RELEASE_VERIFICATION" != "true" ]; then         find /pubkeys -iname '*.asc' -exec gpg --import "{}" \;         && git verify-tag "$JM_SERVER_REPO_REF";     fi)
--> Using cache f8407c5f9193caa89b8c9bd8b657d35145c1c683edeb7c0efc905c8dcfb4e057
--> f8407c5f9193
[6/6] STEP 1/29: FROM debian:bookworm-20250428-slim@sha256:4b50eb66f977b4062683ff434ef18ac191da862dbe966961bc11990cf5791a8d
[6/6] STEP 2/29: ARG MAINTAINER
--> Using cache e7062ae5e73fc580798c4736cf9c901ed8728a50acb7eaebad06d25934e1a06a
--> e7062ae5e73f
[6/6] STEP 3/29: ARG JM_SERVER_REPO_REF
--> Using cache 6e519ad56843fbfbe205db24187b4d37dc1c46f76f2340fd0e999827ef2ad51e
--> 6e519ad56843
[6/6] STEP 4/29: ARG JAM_REPO_REF
--> Using cache 95c1847313528b677c178d97da957f3caee2925181c14d824d4cba2a4fe4a2ec
--> 95c184731352
[6/6] STEP 5/29: LABEL maintainer="$MAINTAINER"
--> Using cache 05bbecc19105f1be6d2d3ea14900dd3a8be622985430b21123852aff790613c8
--> 05bbecc19105
[6/6] STEP 6/29: LABEL ui-version="$JAM_REPO_REF"
--> Using cache 60864c4c2c3aaaa68d85ca55796e7525fcd224ad0ec076119082a18de31cc9a4
--> 60864c4c2c3a
[6/6] STEP 7/29: LABEL server-version="$JM_SERVER_REPO_REF"
--> Using cache dc9dd9df4e6ecc2b3f4a7f4e9a462c01da39dd8a82dedd030fa5dab516ae7481
--> dc9dd9df4e6e
[6/6] STEP 8/29: SHELL ["/bin/bash", "-o", "pipefail", "-c"]
--> Using cache 2db0c7a31bf5559e3dcf188c60276be8d735266bbd9011605ec2e1e008004ece
--> 2db0c7a31bf5
[6/6] STEP 9/29: COPY --from=dinit /out /sbin
--> Using cache 768d15da53d5324859a912e8443e43df742071a64783bd9c73d248688f925e40
--> 768d15da53d5
[6/6] STEP 10/29: COPY --from=ui-builder /usr/src/jam/build /app
--> Using cache b0e8132e1a7d65e8c8be26da6cfe9ca36593847446684daefc6b3bba2871fbf6
--> b0e8132e1a7d
[6/6] STEP 11/29: COPY --from=server-builder /usr/src/joinmarket-clientserver /src
--> Using cache 7b08835e25c28daf09a5108d7b1bf29b62b2a827000d2c1813b4ab16f1056076
--> 7b08835e25c2
[6/6] STEP 12/29: RUN addgroup --system tor     && adduser --system --disabled-login --home /home/tor --ingroup tor --gecos 'tor user' tor     && apt-get update     && apt-get install --quiet --no-install-recommends --no-install-suggests --yes gnupg curl apt-transport-https ca-certificates     && curl --silent https://nginx.org/keys/nginx_signing.key |     gpg --dearmor | tee /usr/share/keyrings/nginx-archive-keyring.gpg > /dev/null     && sh -c "echo 'deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] http://nginx.org/packages/debian bookworm nginx' > /etc/apt/sources.list.d/nginx.list"     && echo -e "Package: *\nPin: origin nginx.org\nPin: release o=nginx\nPin-Priority: 900\n" | tee /etc/apt/preferences.d/99nginx > /dev/null     && curl --silent https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc |     gpg --dearmor | tee /usr/share/keyrings/tor-archive-keyring.gpg > /dev/null     && sh -c "echo 'deb [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org bookworm main' > /etc/apt/sources.list.d/tor.list"     && apt-get update     && apt-get install --quiet --no-install-recommends --no-install-suggests --yes     tini iproute2 procps vim jq     build-essential automake autoconf pkg-config libtool python3-dev python3-pip python3-setuptools python3-venv libltdl-dev     tor     deb.torproject.org-keyring     nginx     && apt-get clean     && rm --recursive --force /var/lib/apt/lists/*
Adding group `tor' (GID 101) ...
Done.
Adding system user `tor' (UID 100) ...
Adding new user `tor' (UID 100) with group `tor' ...
Creating home directory `/home/tor' ...
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8791 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [279 kB]
Fetched 9332 kB in 1s (12.5 MB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server
  gpgconf gpgsm gpgv libassuan0 libbrotli1 libcurl4 libgssapi-krb5-2
  libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libksba8 libldap-2.5-0
  libncursesw6 libnghttp2-14 libnpth0 libpsl5 libreadline8 librtmp1 libsasl2-2
  libsasl2-modules-db libsqlite3-0 libssh2-1 libssl3 openssl pinentry-curses
  readline-common
Suggested packages:
  dbus-user-session libpam-systemd pinentry-gnome3 tor parcimonie xloadimage
  scdaemon krb5-doc krb5-user pinentry-doc readline-doc
Recommended packages:
  krb5-locales libldap-common libgpm2 publicsuffix libsasl2-modules
The following NEW packages will be installed:
  apt-transport-https ca-certificates curl dirmngr gnupg gnupg-l10n
  gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm
  libassuan0 libbrotli1 libcurl4 libgssapi-krb5-2 libk5crypto3 libkeyutils1
  libkrb5-3 libkrb5support0 libksba8 libldap-2.5-0 libncursesw6 libnghttp2-14
  libnpth0 libpsl5 libreadline8 librtmp1 libsasl2-2 libsasl2-modules-db
  libsqlite3-0 libssh2-1 libssl3 openssl pinentry-curses readline-common
The following packages will be upgraded:
  gpgv
1 upgraded, 37 newly installed, 0 to remove and 22 not upgraded.
Need to get 15.6 MB of archives.
After this operation, 33.5 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 gpgv amd64 2.2.40-1.1+deb12u1 [649 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 readline-common all 8.2-1.3 [69.0 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 libssl3 amd64 3.0.17-1~deb12u2 [2027 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 openssl amd64 3.0.17-1~deb12u2 [1430 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 ca-certificates all 20230311+deb12u1 [155 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 apt-transport-https all 2.6.1 [25.2 kB]
Get:7 http://deb.debian.org/debian bookworm/main amd64 libbrotli1 amd64 1.0.9-2+b6 [275 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 libkrb5support0 amd64 1.20.1-2+deb12u4 [33.2 kB]
Get:9 http://deb.debian.org/debian bookworm/main amd64 libk5crypto3 amd64 1.20.1-2+deb12u4 [79.8 kB]
Get:10 http://deb.debian.org/debian bookworm/main amd64 libkeyutils1 amd64 1.6.3-2 [8808 B]
Get:11 http://deb.debian.org/debian bookworm/main amd64 libkrb5-3 amd64 1.20.1-2+deb12u4 [334 kB]
Get:12 http://deb.debian.org/debian bookworm/main amd64 libgssapi-krb5-2 amd64 1.20.1-2+deb12u4 [135 kB]
Get:13 http://deb.debian.org/debian bookworm/main amd64 libsasl2-modules-db amd64 2.1.28+dfsg-10 [20.3 kB]
Get:14 http://deb.debian.org/debian bookworm/main amd64 libsasl2-2 amd64 2.1.28+dfsg-10 [59.7 kB]
Get:15 http://deb.debian.org/debian bookworm/main amd64 libldap-2.5-0 amd64 2.5.13+dfsg-5 [183 kB]
Get:16 http://deb.debian.org/debian bookworm/main amd64 libnghttp2-14 amd64 1.52.0-1+deb12u2 [73.0 kB]
Get:17 http://deb.debian.org/debian bookworm/main amd64 libpsl5 amd64 0.21.2-1 [58.7 kB]
Get:18 http://deb.debian.org/debian bookworm/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2+b2 [60.8 kB]
Get:19 http://deb.debian.org/debian bookworm/main amd64 libssh2-1 amd64 1.10.0-3+b1 [179 kB]
Get:20 http://deb.debian.org/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u14 [392 kB]
Get:21 http://deb.debian.org/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u14 [316 kB]
Get:22 http://deb.debian.org/debian bookworm/main amd64 libassuan0 amd64 2.5.5-5 [48.5 kB]
Get:23 http://deb.debian.org/debian bookworm/main amd64 libreadline8 amd64 8.2-1.3 [166 kB]
Get:24 http://deb.debian.org/debian bookworm/main amd64 gpgconf amd64 2.2.40-1.1+deb12u1 [564 kB]
Get:25 http://deb.debian.org/debian bookworm/main amd64 libksba8 amd64 1.6.3-2 [128 kB]
Get:26 http://deb.debian.org/debian bookworm/main amd64 libnpth0 amd64 1.6-3 [19.0 kB]
Get:27 http://deb.debian.org/debian bookworm/main amd64 dirmngr amd64 2.2.40-1.1+deb12u1 [792 kB]
Get:28 http://deb.debian.org/debian bookworm/main amd64 gnupg-l10n all 2.2.40-1.1+deb12u1 [1093 kB]
Get:29 http://deb.debian.org/debian bookworm/main amd64 gnupg-utils amd64 2.2.40-1.1+deb12u1 [927 kB]
Get:30 http://deb.debian.org/debian bookworm/main amd64 libsqlite3-0 amd64 3.40.1-2+deb12u2 [839 kB]
Get:31 http://deb.debian.org/debian bookworm/main amd64 gpg amd64 2.2.40-1.1+deb12u1 [949 kB]
Get:32 http://deb.debian.org/debian bookworm/main amd64 libncursesw6 amd64 6.4-4 [134 kB]
Get:33 http://deb.debian.org/debian bookworm/main amd64 pinentry-curses amd64 1.2.1-1 [77.4 kB]
Get:34 http://deb.debian.org/debian bookworm/main amd64 gpg-agent amd64 2.2.40-1.1+deb12u1 [694 kB]
Get:35 http://deb.debian.org/debian bookworm/main amd64 gpg-wks-client amd64 2.2.40-1.1+deb12u1 [540 kB]
Get:36 http://deb.debian.org/debian bookworm/main amd64 gpg-wks-server amd64 2.2.40-1.1+deb12u1 [531 kB]
Get:37 http://deb.debian.org/debian bookworm/main amd64 gpgsm amd64 2.2.40-1.1+deb12u1 [671 kB]
Get:38 http://deb.debian.org/debian bookworm/main amd64 gnupg all 2.2.40-1.1+deb12u1 [846 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 15.6 MB in 0s (51.6 MB/s)
(Reading database ... 6091 files and directories currently installed.)
Preparing to unpack .../gpgv_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgv (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Setting up gpgv (2.2.40-1.1+deb12u1) ...
Selecting previously unselected package readline-common.
(Reading database ... 6091 files and directories currently installed.)
Preparing to unpack .../00-readline-common_8.2-1.3_all.deb ...
Unpacking readline-common (8.2-1.3) ...
Selecting previously unselected package libssl3:amd64.
Preparing to unpack .../01-libssl3_3.0.17-1~deb12u2_amd64.deb ...
Unpacking libssl3:amd64 (3.0.17-1~deb12u2) ...
Selecting previously unselected package openssl.
Preparing to unpack .../02-openssl_3.0.17-1~deb12u2_amd64.deb ...
Unpacking openssl (3.0.17-1~deb12u2) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../03-ca-certificates_20230311+deb12u1_all.deb ...
Unpacking ca-certificates (20230311+deb12u1) ...
Selecting previously unselected package apt-transport-https.
Preparing to unpack .../04-apt-transport-https_2.6.1_all.deb ...
Unpacking apt-transport-https (2.6.1) ...
Selecting previously unselected package libbrotli1:amd64.
Preparing to unpack .../05-libbrotli1_1.0.9-2+b6_amd64.deb ...
Unpacking libbrotli1:amd64 (1.0.9-2+b6) ...
Selecting previously unselected package libkrb5support0:amd64.
Preparing to unpack .../06-libkrb5support0_1.20.1-2+deb12u4_amd64.deb ...
Unpacking libkrb5support0:amd64 (1.20.1-2+deb12u4) ...
Selecting previously unselected package libk5crypto3:amd64.
Preparing to unpack .../07-libk5crypto3_1.20.1-2+deb12u4_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.20.1-2+deb12u4) ...
Selecting previously unselected package libkeyutils1:amd64.
Preparing to unpack .../08-libkeyutils1_1.6.3-2_amd64.deb ...
Unpacking libkeyutils1:amd64 (1.6.3-2) ...
Selecting previously unselected package libkrb5-3:amd64.
Preparing to unpack .../09-libkrb5-3_1.20.1-2+deb12u4_amd64.deb ...
Unpacking libkrb5-3:amd64 (1.20.1-2+deb12u4) ...
Selecting previously unselected package libgssapi-krb5-2:amd64.
Preparing to unpack .../10-libgssapi-krb5-2_1.20.1-2+deb12u4_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.20.1-2+deb12u4) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../11-libsasl2-modules-db_2.1.28+dfsg-10_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.28+dfsg-10) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../12-libsasl2-2_2.1.28+dfsg-10_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.28+dfsg-10) ...
Selecting previously unselected package libldap-2.5-0:amd64.
Preparing to unpack .../13-libldap-2.5-0_2.5.13+dfsg-5_amd64.deb ...
Unpacking libldap-2.5-0:amd64 (2.5.13+dfsg-5) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../14-libnghttp2-14_1.52.0-1+deb12u2_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.52.0-1+deb12u2) ...
Selecting previously unselected package libpsl5:amd64.
Preparing to unpack .../15-libpsl5_0.21.2-1_amd64.deb ...
Unpacking libpsl5:amd64 (0.21.2-1) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../16-librtmp1_2.4+20151223.gitfa8646d.1-2+b2_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...
Selecting previously unselected package libssh2-1:amd64.
Preparing to unpack .../17-libssh2-1_1.10.0-3+b1_amd64.deb ...
Unpacking libssh2-1:amd64 (1.10.0-3+b1) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../18-libcurl4_7.88.1-10+deb12u14_amd64.deb ...
Unpacking libcurl4:amd64 (7.88.1-10+deb12u14) ...
Selecting previously unselected package curl.
Preparing to unpack .../19-curl_7.88.1-10+deb12u14_amd64.deb ...
Unpacking curl (7.88.1-10+deb12u14) ...
Selecting previously unselected package libassuan0:amd64.
Preparing to unpack .../20-libassuan0_2.5.5-5_amd64.deb ...
Unpacking libassuan0:amd64 (2.5.5-5) ...
Selecting previously unselected package libreadline8:amd64.
Preparing to unpack .../21-libreadline8_8.2-1.3_amd64.deb ...
Unpacking libreadline8:amd64 (8.2-1.3) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../22-gpgconf_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgconf (2.2.40-1.1+deb12u1) ...
Selecting previously unselected package libksba8:amd64.
Preparing to unpack .../23-libksba8_1.6.3-2_amd64.deb ...
Unpacking libksba8:amd64 (1.6.3-2) ...
Selecting previously unselected package libnpth0:amd64.
Preparing to unpack .../24-libnpth0_1.6-3_amd64.deb ...
Unpacking libnpth0:amd64 (1.6-3) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../25-dirmngr_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking dirmngr (2.2.40-1.1+deb12u1) ...
Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../26-gnupg-l10n_2.2.40-1.1+deb12u1_all.deb ...
Unpacking gnupg-l10n (2.2.40-1.1+deb12u1) ...
Selecting previously unselected package gnupg-utils.
Preparing to unpack .../27-gnupg-utils_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gnupg-utils (2.2.40-1.1+deb12u1) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../28-libsqlite3-0_3.40.1-2+deb12u2_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.40.1-2+deb12u2) ...
Selecting previously unselected package gpg.
Preparing to unpack .../29-gpg_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg (2.2.40-1.1+deb12u1) ...
Selecting previously unselected package libncursesw6:amd64.
Preparing to unpack .../30-libncursesw6_6.4-4_amd64.deb ...
Unpacking libncursesw6:amd64 (6.4-4) ...
Selecting previously unselected package pinentry-curses.
Preparing to unpack .../31-pinentry-curses_1.2.1-1_amd64.deb ...
Unpacking pinentry-curses (1.2.1-1) ...
Selecting previously unselected package gpg-agent.
Preparing to unpack .../32-gpg-agent_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-agent (2.2.40-1.1+deb12u1) ...
Selecting previously unselected package gpg-wks-client.
Preparing to unpack .../33-gpg-wks-client_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-wks-client (2.2.40-1.1+deb12u1) ...
Selecting previously unselected package gpg-wks-server.
Preparing to unpack .../34-gpg-wks-server_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-wks-server (2.2.40-1.1+deb12u1) ...
Selecting previously unselected package gpgsm.
Preparing to unpack .../35-gpgsm_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgsm (2.2.40-1.1+deb12u1) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../36-gnupg_2.2.40-1.1+deb12u1_all.deb ...
Unpacking gnupg (2.2.40-1.1+deb12u1) ...
Setting up libksba8:amd64 (1.6.3-2) ...
Setting up libkeyutils1:amd64 (1.6.3-2) ...
Setting up libpsl5:amd64 (0.21.2-1) ...
Setting up apt-transport-https (2.6.1) ...
Setting up libbrotli1:amd64 (1.0.9-2+b6) ...
Setting up libsqlite3-0:amd64 (3.40.1-2+deb12u2) ...
Setting up libssl3:amd64 (3.0.17-1~deb12u2) ...
Setting up libnghttp2-14:amd64 (1.52.0-1+deb12u2) ...
Setting up libnpth0:amd64 (1.6-3) ...
Setting up libassuan0:amd64 (2.5.5-5) ...
Setting up libkrb5support0:amd64 (1.20.1-2+deb12u4) ...
Setting up libsasl2-modules-db:amd64 (2.1.28+dfsg-10) ...
Setting up gnupg-l10n (2.2.40-1.1+deb12u1) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...
Setting up libncursesw6:amd64 (6.4-4) ...
Setting up libk5crypto3:amd64 (1.20.1-2+deb12u4) ...
Setting up libsasl2-2:amd64 (2.1.28+dfsg-10) ...
Setting up libssh2-1:amd64 (1.10.0-3+b1) ...
Setting up libkrb5-3:amd64 (1.20.1-2+deb12u4) ...
Setting up openssl (3.0.17-1~deb12u2) ...
Setting up readline-common (8.2-1.3) ...
Setting up pinentry-curses (1.2.1-1) ...
Setting up libreadline8:amd64 (8.2-1.3) ...
Setting up libldap-2.5-0:amd64 (2.5.13+dfsg-5) ...
Setting up ca-certificates (20230311+deb12u1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Updating certificates in /etc/ssl/certs...
142 added, 0 removed; done.
Setting up libgssapi-krb5-2:amd64 (1.20.1-2+deb12u4) ...
Setting up gpgconf (2.2.40-1.1+deb12u1) ...
Setting up libcurl4:amd64 (7.88.1-10+deb12u14) ...
Setting up curl (7.88.1-10+deb12u14) ...
Setting up gpg (2.2.40-1.1+deb12u1) ...
Setting up gnupg-utils (2.2.40-1.1+deb12u1) ...
Setting up gpg-agent (2.2.40-1.1+deb12u1) ...
Setting up gpgsm (2.2.40-1.1+deb12u1) ...
Setting up dirmngr (2.2.40-1.1+deb12u1) ...
Setting up gpg-wks-server (2.2.40-1.1+deb12u1) ...
Setting up gpg-wks-client (2.2.40-1.1+deb12u1) ...
Setting up gnupg (2.2.40-1.1+deb12u1) ...
Processing triggers for libc-bin (2.36-9+deb12u10) ...
Processing triggers for ca-certificates (20230311+deb12u1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://nginx.org/packages/debian bookworm InRelease [3293 B]
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://deb.debian.org/debian-security bookworm-security InRelease
Get:5 https://deb.torproject.org/torproject.org bookworm InRelease [2819 B]
Get:6 http://nginx.org/packages/debian bookworm/nginx amd64 Packages [21.7 kB]
Get:7 https://deb.torproject.org/torproject.org bookworm/main amd64 Packages [2444 B]
Fetched 30.3 kB in 0s (141 kB/s)
Reading package lists...
Reading package lists...
E: Invalid record in the preferences file /etc/apt/preferences.d/99nginx, no Package header
Error: building at STEP "RUN addgroup --system tor     && adduser --system --disabled-login --home /home/tor --ingroup tor --gecos 'tor user' tor     && apt-get update     && apt-get install --quiet --no-install-recommends --no-install-suggests --yes gnupg curl apt-transport-https ca-certificates     && curl --silent https://nginx.org/keys/nginx_signing.key |     gpg --dearmor | tee /usr/share/keyrings/nginx-archive-keyring.gpg > /dev/null     && sh -c "echo 'deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] http://nginx.org/packages/debian bookworm nginx' > /etc/apt/sources.list.d/nginx.list"     && echo -e "Package: *\nPin: origin nginx.org\nPin: release o=nginx\nPin-Priority: 900\n" | tee /etc/apt/preferences.d/99nginx > /dev/null     && curl --silent https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc |     gpg --dearmor | tee /usr/share/keyrings/tor-archive-keyring.gpg > /dev/null     && sh -c "echo 'deb [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org bookworm main' > /etc/apt/sources.list.d/tor.list"     && apt-get update     && apt-get install --quiet --no-install-recommends --no-install-suggests --yes     tini iproute2 procps vim jq     build-essential automake autoconf pkg-config libtool python3-dev python3-pip python3-setuptools python3-venv libltdl-dev     tor     deb.torproject.org-keyring     nginx     && apt-get clean     && rm --recursive --force /var/lib/apt/lists/*": while running runtime: exit status 100

E: Invalid record in the preferences file /etc/apt/preferences.d/99nginx, no Package header

Metadata

Metadata

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions