树莓派不能编译openfaas函数
source link: https://www.bboy.app/2021/09/18/%E6%A0%91%E8%8E%93%E6%B4%BE%E4%B8%8D%E8%83%BD%E7%BC%96%E8%AF%91openfaas%E5%87%BD%E6%95%B0/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
树莓派不能编译openfaas函数
发表于
2021-09-18 分类于 linux
今天在编译openfaas函数的时候发现了下面的问题
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/armv7/APKINDEX.tar.gz
3069379472:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
3069379472:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
3069379472:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
3069379472:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
3069379472:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1913:
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/main: Permission denied
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/armv7/APKINDEX.tar.gz
3069379472:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
3069379472:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
3069379472:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
3069379472:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
3069379472:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1913:
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/community: Permission denied
ERROR: unable to select packages:
百度了一下是libseccomp2
版本太低的问题
添加软件源
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC 648ACFD622F3D138
echo 'deb http://httpredir.debian.org/debian buster-backports main contrib non-free' | sudo tee -a /etc/apt/sources.list.d/debian-backports.list
apt update && apt install libseccomp2 -t buster-backports
之后编译函数就没有什么问题了
详细的可以看下面
https://blog.samcater.com/fix-workaround-rpi4-docker-libseccomp2-docker-20/
如果你在其他节点去跑容器,但是你没有安装高版本的libseccomp2会报错
欢迎关注我的博客www.bboy.app
Have Fun
Recommend
-
95
README.md faas-netes
-
232
-
78
-
34
本篇教程,我们将共同了解如何将 AWS Lambda 函数(Node.js)迁移至 OpenFaaS。 为什么要迁移至 OpenFaas? 云函数服务确实优点很多,不仅成本低廉,而且适合大部分用例的实际需求。但在另一方面,OpenFaaS 相较于云函...
-
42
Going Serverless with OpenFaaS and Golang — The Ultimate Setup and Workflow
-
30
OpenFaaS Cloud Managed OpenFaaS for teams Announcement from Cisco's DevNet Create in Mountain View Kube...
-
5
Published February 12, 2021 #openfaas, #react,
-
4
Serverless with OpenFaaS and .NET
-
7
用户体验测评笔记:OpenFaaS 和腾讯云 Serverless发布于: 2021-3-23归档于: 用户故事标签:ServerlessOpenFaaS
-
4
OpenFaaS - 以自己的方式运行容器化函数 - 云原生指北的个人空间 - OSCHINA - 中文开源技术交流社区 神秘奖项 1:优秀中国开源原生...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK