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 image no longer builds on RPi Buster armhf #147

Open
markblinkhorn opened this issue Dec 21, 2022 · 1 comment
Open

Docker image no longer builds on RPi Buster armhf #147

markblinkhorn opened this issue Dec 21, 2022 · 1 comment

Comments

@markblinkhorn
Copy link

I'm using 2021-05-07-raspios-buster-armhf-lite on R-Pi 3 B+ to host a legacy project running in Python2 (don't ask). The latest github clone (as of 20221220) no longer builds. It last worked (AFAIK) around March 2022. I have exported the built image from that timeframe and can use that for the time being.

Current system - uname -a
Linux raspberrypi1 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux

Build output -

root@raspberrypi1:/home/pi/quickchart# docker image build -t ianw/quickchart:006 .
Sending build context to Docker daemon 839.1MB
Step 1/23 : FROM node:12-alpine3.15
---> 37b988e559b7
Step 2/23 : ENV NODE_ENV production
---> Running in 7ba31ad8efdf
Removing intermediate container 7ba31ad8efdf
---> 5d10cd92a7d2
Step 3/23 : WORKDIR /quickchart
---> Running in a9dfa661c065
Removing intermediate container a9dfa661c065
---> 804f08333098
Step 4/23 : RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
---> Running in f6e06405be07
Removing intermediate container f6e06405be07
---> 112488b1640c
Step 5/23 : RUN apk add --upgrade apk-tools
---> Running in f5e9df0f5138
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/armv7/APKINDEX.tar.gz
1996014480:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
1996014480:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
1996014480:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
1996014480:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
1996014480:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.15/main: Permission denied
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/main: No such file or directory
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/armv7/APKINDEX.tar.gz
1996014480:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
1996014480:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
1996014480:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
1996014480:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
1996014480:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.15/community: Permission denied
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/community: No such file or directory
(1/2) Upgrading libcrypto1.1 (1.1.1n-r0 -> 1.1.1s-r0)
(2/2) Upgrading libssl1.1 (1.1.1n-r0 -> 1.1.1s-r0)
OK: 5 MiB in 16 packages
Removing intermediate container f5e9df0f5138
---> ac35a3ccf8be
Step 6/23 : RUN apk add --no-cache --virtual .build-deps yarn git build-base g++ python3
---> Running in 2fdaa552948a
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/armv7/APKINDEX.tar.gz
1996190608:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
1996190608:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
1996190608:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1919:
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/main: Permission denied
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/armv7/APKINDEX.tar.gz
1996190608:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
1996190608:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
1996190608:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1919:
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/community: Permission denied
ERROR: unable to select packages:
ca-certificates (no such package):
required by: nodejs-current-19.3.0-r0[ca-certificates]
so:libbrotlidec.so.1 (no such package):
required by: nodejs-current-19.3.0-r0[so:libbrotlidec.so.1]
so:libbrotlienc.so.1 (no such package):
required by: nodejs-current-19.3.0-r0[so:libbrotlienc.so.1]
so:libcares.so.2 (no such package):
required by: nodejs-current-19.3.0-r0[so:libcares.so.2]
so:libcrypto.so.3 (no such package):
required by: nodejs-current-19.3.0-r0[so:libcrypto.so.3]
so:libicui18n.so.72 (no such package):
required by: nodejs-current-19.3.0-r0[so:libicui18n.so.72]
so:libicuuc.so.72 (no such package):
required by: nodejs-current-19.3.0-r0[so:libicuuc.so.72]
so:libnghttp2.so.14 (no such package):
required by: nodejs-current-19.3.0-r0[so:libnghttp2.so.14]
so:libssl.so.3 (no such package):
required by: nodejs-current-19.3.0-r0[so:libssl.so.3]
so:libuv.so.1 (no such package):
required by: nodejs-current-19.3.0-r0[so:libuv.so.1]
git (no such package):
required by: .build-deps-19700101.000000[git]
build-base (no such package):
required by: .build-deps-19700101.000000[build-base]
g++ (no such package):
required by: .build-deps-19700101.000000[g++]
python3 (no such package):
required by: .build-deps-19700101.000000[python3]
The command '/bin/sh -c apk add --no-cache --virtual .build-deps yarn git build-base g++ python3' returned a non-zero code: 17
root@raspberrypi1:/home/pi/quickchart#

It all goes wrong here:

Step 5/23 : RUN apk add --upgrade apk-tools
---> Running in f5e9df0f5138
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/armv7/APKINDEX.tar.gz
1996014480:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
1996014480:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
1996014480:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
1996014480:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
1996014480:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:

I have tried the various 'solutions' thrown up by google - none have worked.

TIA - MarkB

@markblinkhorn
Copy link
Author

I should add (for completeness) that the Quickchart build does work on 2021-05-07-raspios-buster-arm64-lite - but my project doesn't...

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

1 participant