Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(fix/ci)docker build resolving entrypoint & adding cowboy dependency #58

Merged
merged 4 commits into from
Oct 1, 2022

Conversation

djnnvx
Copy link
Contributor

@djnnvx djnnvx commented Sep 30, 2022

No description provided.

entrypoint.sh was copied to /usr/local/bin and not /build/priv/whatever,
silly mistake
Apparently, the following error is fixed by adding the cowboy
dependency:
> ** (Mix) Could not start application ranch: exited in: :ranch_app.start(:normal, [])
>    ** (EXIT) an exception was raised:
>        ** (UndefinedFunctionError) function :ranch_sup.start_link/0 is undefined (module :ranch_sup is not available)
>            (ranch 1.8.0) :ranch_sup.start_link()
>            (kernel 8.1.2) application_master.erl:293: :application_master.start_it_old/4

Here is the relevant thread:
https://elixirforum.com/t/mix-could-not-start-application-ranch-could-not-find-application-file-ranch-app/13882/2
@djnnvx djnnvx added bug Something isn't working ci Related to Continuous Integration labels Sep 30, 2022
@djnnvx djnnvx requested a review from SheItoon September 30, 2022 14:38
@djnnvx djnnvx self-assigned this Sep 30, 2022
@djnnvx
Copy link
Contributor Author

djnnvx commented Sep 30, 2022

this needs to be pushed to canon ASAP, because it should fix the following issue

@djnnvx djnnvx merged commit a373251 into dev Oct 1, 2022
@djnnvx djnnvx deleted the fix/docker-build branch October 1, 2022 04:53
djnnvx added a commit that referenced this pull request Oct 1, 2022
* (fix/ci)docker build resolving entrypoint & adding cowboy dependency (#58)

* (fix/build)Fixing docker build on WSL setups

Relevant Stack-overflow thread:
https://stackoverflow.com/a/54003007

* (fix/build)entrypoint.sh path

entrypoint.sh was copied to /usr/local/bin and not /build/priv/whatever,
silly mistake

* (fix/ci)adding cowboy dependency

Apparently, the following error is fixed by adding the cowboy
dependency:
> ** (Mix) Could not start application ranch: exited in: :ranch_app.start(:normal, [])
>    ** (EXIT) an exception was raised:
>        ** (UndefinedFunctionError) function :ranch_sup.start_link/0 is undefined (module :ranch_sup is not available)
>            (ranch 1.8.0) :ranch_sup.start_link()
>            (kernel 8.1.2) application_master.erl:293: :application_master.start_it_old/4

Here is the relevant thread:
https://elixirforum.com/t/mix-could-not-start-application-ranch-could-not-find-application-file-ranch-app/13882/2

* (mod/api)bumping api version

Co-authored-by: winds0r <[email protected]>
Co-authored-by: SheItoon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ci Related to Continuous Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant