Code Monkey home page Code Monkey logo

mysql-lambda's People

Contributors

jakubknejzlik avatar megastep avatar pobtastic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mysql-lambda's Issues

Issue introduced by Amazon Linux 2023

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.