megastep / mysql-lambda Goto Github PK
View Code? Open in Web Editor NEWAWS Lambda layers for MySQL commands.
AWS Lambda layers for MySQL commands.
Dockerfile.mysql starts with FROM amazonlinux
.
This now pulls in Amazon Linux 2023, and the build fails on step 3:
=> ERROR [ 3/11] RUN yum -y update && yum install -y cmake3 make gcc-c++ ncurses-devel openssl11 openssl11-devel python-devel wget tar gzip which zip 6.1s
------
> [ 3/11] RUN yum -y update && yum install -y cmake3 make gcc-c++ ncurses-devel openssl11 openssl11-devel python-devel wget tar gzip which zip:
#0 3.565 Amazon Linux 2023 repository 5.3 MB/s | 15 MB 00:02
#0 5.587 Last metadata expiration check: 0:00:02 ago on Mon Jul 17 22:07:53 2023.
#0 5.843 Dependencies resolved.
#0 5.847 Nothing to do.
#0 5.847 Complete!
#0 6.059 Last metadata expiration check: 0:00:03 ago on Mon Jul 17 22:07:53 2023.
#0 6.074 No match for argument: openssl11
#0 6.077 No match for argument: openssl11-devel
#0 6.087 Error: Unable to find a match: openssl11 openssl11-devel
------
Dockerfile.mysql:7
--------------------
5 | ARG VERSION=8.0.32
6 |
7 | >>> RUN yum -y update && yum install -y cmake3 make gcc-c++ ncurses-devel openssl11 openssl11-devel python-devel wget tar gzip which zip
8 |
9 | RUN wget -q https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-${VERSION}.tar.gz
--------------------
ERROR: failed to solve: process "/bin/sh -c yum -y update && yum install -y cmake3 make gcc-c++ ncurses-devel openssl11 openssl11-devel python-devel wget tar gzip which zip" did not complete successfully: exit code: 1
make: *** [mysql-8.0.32-layer.zip] Error 1
For now Amazon Linux 2023 isn't even available on Lambda.
It seems an immediate fix is available by simply changing the first line to FROM amazonlinux:2
.
In the mid term, it may be useful to support both AL2 and AL2023. Then later AL2 will be irrelevant.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.