Skip to content

[alpine/erlang-crypto] {‘no such file or directory’, ‘crypto.app’} bug ? #80

@lancer26

Description

@lancer26

Hi,

Sorry for this irrelevant issue. I met some problem when i install elixir runtime in alpine, seem caused by erlang-crypto. Don't know anywhere else to ask questions, so I'm here with this issue.

I used to use below dockerfile to build image, but now it doesn't work, with error message:

** (MatchError) no match of right hand side value: {:error, {:crypto, {‘no such file or directory’, ‘crypto.app’}}}.

I searched google, it says that maybe caused erlang-crypto or erlang-ssl, how can I fix it?

FROM alpine

ARG VERSION=0.0.1

RUN set -ex \
    && apk add --no-cache elixir \
    bash \
    build-base \
    erlang \
    erlang-syntax-tools \
    erlang-crypto \
    erlang-ssl \
    erlang-parsetools \
    nodejs \
    && mix local.hex --force \

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