Skip to content

Incorrect Amazon Linux in Dockerfile #20

Open

Description

@jkerb8

In the Dockerfile, "FROM amazonlinux:latest" now refers to Amazon Linux 2023, and the Node.JS v16 installation fails on this version. Changing that line to "FROM amazonlinux:2" corrects the issue.

Activity

  1. diasoftwares commented on Jun 26, 2023

    @diasoftwares

    Hi. Thanks for this. Now i am able to build it. But while running in lambda getting /var/task/node_modules/canvas/build/Release/canvas.node: invalid ELF header

    i am tyring to use the chartjs-node-canvas npm in the lambda. Is there any additional steps i need to do.

  2. papaya-reader commented on Aug 8, 2023

    @papaya-reader

    Hi. Thanks for this. Now i am able to build it. But while running in lambda getting /var/task/node_modules/canvas/build/Release/canvas.node: invalid ELF header

    i am tyring to use the chartjs-node-canvas npm in the lambda. Is there any additional steps i need to do.

    got into the same issue and this solved it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions