Skip to content
This repository was archived by the owner on Jan 20, 2024. It is now read-only.
This repository was archived by the owner on Jan 20, 2024. It is now read-only.

Flyway error with node alpine containers #26

@royprigat

Description

@royprigat

Hi,

I am facing an issue when attempting to run the node-flywaydb(v.3.0.3) migration script within a node container.

The migrate script runs fine within a regular node container, for example node:12.0.0, but when I run it within node:12.0.0-alpine the script seems to throw the following error:

image

Might be hard to see from the image, so here is the error text:
stderr: /app/node_modules/node-flywaydb/jlib/flyway-commandline-7.8.2/flyway-7.8.2/flyway: line 83: /app/node_modules/node-flywaydb/jlib/flyway-commandline-7.8.2/flyway-7.8.2/jre/bin/java: No such file or directory

Again, this only happens in containers with 'alpine' versions.

Please advise,

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions