Comments (9)
docker run --rm -it --entrypoint=bash public.ecr.aws/lambda/provided:al2-arm64
Unable to find image 'public.ecr.aws/lambda/provided:al2-arm64' locally
al2-arm64: Pulling from lambda/provided
84658198e9c6: Pull complete
961f25c6b855: Pull complete
0e83d3d530cc: Pull complete
bb1b869e5ceb: Pull complete
Digest: sha256:af2796ad18f557ef853d85f16207dfc00c0a936d7596bc5a5e8332de2c90fcb0
Status: Downloaded newer image for public.ecr.aws/lambda/provided:al2-arm64
bash-4.2# yum install -y \
> https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \
> https://rpms.remirepo.net/enterprise/remi-release-9.rpm \
> yum-utils \
> epel-release \
> curl
Loaded plugins: ovl
epel-release-latest-9.noarch.rpm | 18 kB 00:00:00
Examining /var/tmp/yum-root-_mnhB9/epel-release-latest-9.noarch.rpm: epel-release-9-4.el9.noarch
Marking /var/tmp/yum-root-_mnhB9/epel-release-latest-9.noarch.rpm to be installed
remi-release-9.rpm | 25 kB 00:00:00
Examining /var/tmp/yum-root-_mnhB9/remi-release-9.rpm: remi-release-9.0-6.el9.remi.noarch
Marking /var/tmp/yum-root-_mnhB9/remi-release-9.rpm to be installed
amzn2-core | 3.7 kB 00:00:00
(1/3): amzn2-core/2/aarch64/group_gz | 2.5 kB 00:00:00
(2/3): amzn2-core/2/aarch64/updateinfo | 515 kB 00:00:00
(3/3): amzn2-core/2/aarch64/primary_db | 49 MB 00:00:02
No package epel-release available.
Package curl-7.79.1-4.amzn2.0.1.aarch64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:9-4.el9 will be installed
--> Processing Dependency: redhat-release >= 9 for package: epel-release-9-4.el9.noarch
---> Package remi-release.noarch 0:9.0-6.el9.remi will be installed
--> Processing Dependency: system-release(releasever) = 9 for package: remi-release-9.0-6.el9.remi.noarch
--> Processing Dependency: redhat-release >= 9.0 for package: remi-release-9.0-6.el9.remi.noarch
---> Package yum-utils.noarch 0:1.1.31-46.amzn2.0.1 will be installed
--> Processing Dependency: python-kitchen for package: yum-utils-1.1.31-46.amzn2.0.1.noarch
--> Processing Dependency: libxml2-python for package: yum-utils-1.1.31-46.amzn2.0.1.noarch
--> Running transaction check
---> Package epel-release.noarch 0:9-4.el9 will be installed
--> Processing Dependency: redhat-release >= 9 for package: epel-release-9-4.el9.noarch
---> Package libxml2-python.aarch64 0:2.9.1-6.amzn2.5.6 will be installed
---> Package python-kitchen.noarch 0:1.1.1-5.amzn2 will be installed
--> Processing Dependency: python-chardet for package: python-kitchen-1.1.1-5.amzn2.noarch
---> Package remi-release.noarch 0:9.0-6.el9.remi will be installed
--> Processing Dependency: system-release(releasever) = 9 for package: remi-release-9.0-6.el9.remi.noarch
--> Processing Dependency: redhat-release >= 9.0 for package: remi-release-9.0-6.el9.remi.noarch
--> Running transaction check
---> Package epel-release.noarch 0:9-4.el9 will be installed
--> Processing Dependency: redhat-release >= 9 for package: epel-release-9-4.el9.noarch
---> Package python-chardet.noarch 0:2.2.1-1.amzn2 will be installed
---> Package remi-release.noarch 0:9.0-6.el9.remi will be installed
--> Processing Dependency: system-release(releasever) = 9 for package: remi-release-9.0-6.el9.remi.noarch
--> Processing Dependency: redhat-release >= 9.0 for package: remi-release-9.0-6.el9.remi.noarch
--> Finished Dependency Resolution
Error: Package: remi-release-9.0-6.el9.remi.noarch (/remi-release-9)
Requires: redhat-release >= 9.0
Installed: 1:system-release-2-14.amzn2.aarch64 (@amzn2-core)
redhat-release = 7.5
Available: 1:system-release-2-5.amzn2.aarch64 (amzn2-core)
redhat-release = 7.5
Available: 1:system-release-2-7.amzn2.aarch64 (amzn2-core)
redhat-release = 7.5
Available: 1:system-release-2-10.amzn2.aarch64 (amzn2-core)
redhat-release = 7.5
Available: 1:system-release-2-11.amzn2.aarch64 (amzn2-core)
redhat-release = 7.5
Available: 1:system-release-2-12.amzn2.aarch64 (amzn2-core)
redhat-release = 7.5
Available: 1:system-release-2-13.amzn2.aarch64 (amzn2-core)
redhat-release = 7.5
Error: Package: remi-release-9.0-6.el9.remi.noarch (/remi-release-9)
Requires: system-release(releasever) = 9
Installed: 1:system-release-2-14.amzn2.aarch64 (@amzn2-core)
system-release(releasever) = 2
Available: 1:system-release-2-5.amzn2.aarch64 (amzn2-core)
system-release(releasever) = 2
Available: 1:system-release-2-7.amzn2.aarch64 (amzn2-core)
system-release(releasever) = 2
Available: 1:system-release-2-10.amzn2.aarch64 (amzn2-core)
system-release(releasever) = 2
Available: 1:system-release-2-11.amzn2.aarch64 (amzn2-core)
system-release(releasever) = 2
Available: 1:system-release-2-12.amzn2.aarch64 (amzn2-core)
system-release(releasever) = 2
Available: 1:system-release-2-13.amzn2.aarch64 (amzn2-core)
system-release(releasever) = 2
Error: Package: epel-release-9-4.el9.noarch (/epel-release-latest-9.noarch)
Requires: redhat-release >= 9
Installed: 1:system-release-2-14.amzn2.aarch64 (@amzn2-core)
redhat-release = 7.5
Available: 1:system-release-2-5.amzn2.aarch64 (amzn2-core)
redhat-release = 7.5
Available: 1:system-release-2-7.amzn2.aarch64 (amzn2-core)
redhat-release = 7.5
Available: 1:system-release-2-10.amzn2.aarch64 (amzn2-core)
redhat-release = 7.5
Available: 1:system-release-2-11.amzn2.aarch64 (amzn2-core)
redhat-release = 7.5
Available: 1:system-release-2-12.amzn2.aarch64 (amzn2-core)
redhat-release = 7.5
Available: 1:system-release-2-13.amzn2.aarch64 (amzn2-core)
redhat-release = 7.5
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
from aws-lambda-layers.
I wonder how soon amazon linux 2022 is coming to lambda. Maybe worth the wait.
from aws-lambda-layers.
Would be great, maybe reInvent 🤞 But also could be a long wait, this is AWS, everything is possible 😢
from aws-lambda-layers.
Only AWS would launch a 2022 image in 2024.
from aws-lambda-layers.
I'm also getting the same error as posted by Graham. Couldn't find any solution to this yet. I guess AL2 is indeed incompatible with REHL 9
from aws-lambda-layers.
Thanks, I've removed this target from Bref 2. Unless we find a magic solution it doesn't seem realistic for now. Our best bet is re:Invent 😂
from aws-lambda-layers.
AL2 took 2 extra years after EC2 release before it made it to Lambda, sooo, don't hold your breath. Hence my 2024 comment. ;)
from aws-lambda-layers.
Just taking some notes here of what I tried. @deleugpn shared https://repost.aws/questions/QUmixmJazqTF2PNF-zUdaEEw/enable-epel-in-aws-linux-2022 with me, so I tried:
docker run --rm -it --entrypoint=bash public.ecr.aws/lambda/provided:al2-arm64
yum install -y wget
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
rpm -ihv --nodeps --force ./epel-release-latest-9.noarch.rpm
warning: ./epel-release-latest-9.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 3228467c: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:epel-release-9-4.el9 ################################# [100%]
error: unpacking of archive failed: cpio: Bad magic
error: epel-release-9-4.el9.noarch: install failed
That seems to be expected, not sure if there's something to dig in deeper here.
from aws-lambda-layers.
Closing since we now compile PHP from source (#43).
from aws-lambda-layers.
Related Issues (20)
- "Integrity check" on all files HOT 4
- OpenSSL 3.2.0 update breaks connections to Aurora Postgres HOT 10
- OpenSSL conf missing in non-dev Image HOT 5
- Add LICENSE file
- Add PHP 8.2 x86 layers
- Add the zip extension by default for parity with Bref 1
- Support Europe/Spain region
- Unable to load APCu extension HOT 3
- Push `latest` Docker images on new release
- Add support for HTTP2 requests in Curl HOT 4
- Missing CA file on latest beta HOT 1
- bref v2 docker container does not properly accept POST input HOT 3
- Merge the ARM Docker images into the existing images (multi-platform images) HOT 6
- release with PHP 8.1.17 HOT 3
- OpenSSL 3.0
- Error using MongoDB on php 8.2 HOT 1
- Memory issue with bref/php-81-fpm-dev:2 HOT 6
- Cleanup directories in `/tmp` in the `-build` images
- Can we also install Pcov by default in the fpm-dev image? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-lambda-layers.