Comments (3)
The solution for me was RUN apk add --no-cache build-base
. Don't know if thats the best way to solve this issue.
from alpine-elixir.
What do you see if you run the rebar3
command as it recommends? With the information here unfortunately I can't tell what's wrong.
from alpine-elixir.
I use bitwalker/alpine-elixir:1.4.0
FROM bitwalker/alpine-elixir:1.4.0
# Set mix environment
ARG MIX_ENV
ENV MIX_ENV ${MIX_ENV:-prod}
# Cache elixir deps
COPY mix.exs mix.lock ./
RUN mix do deps.get, deps.compile # --only prod
# Copy the rest of the application
COPY . .
# Run compile app and digest assets
RUN mix do compile
USER default
EXPOSE 4000
/opt/app $ /opt/app/.mix/rebar3 bare compile --paths "/opt/app/_build/prod/lib/*/ebin"
===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace or consult rebar3.crashdump
===> When submitting a bug report, please include the output of `rebar3 report "your command"
/opt/app $ DEBUG=1 /opt/app/.mix/rebar3 bare compile --paths "/opt/app/_build/prod/lib/*/ebin"
===> Expanded command sequence to be run: []
===> Expanded command sequence to be run: [{default,app_discovery},
{bare,compile}]
===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace or consult rebar3.crashdump
===> Uncaught error: {badmatch,[]}
===> Stack trace to the error location:
[{rebar_prv_bare_compile,do,1,
[{file,"/home/tristan/Devel/rebar3/_build/default/lib/rebar/src/rebar_prv_bare_compile.erl"},
{line,45}]},
{rebar_core,do,2,
[{file,"/home/tristan/Devel/rebar3/_build/default/lib/rebar/src/rebar_core.erl"},
{line,125}]},
{rebar_prv_do,do_tasks,2,
[{file,"/home/tristan/Devel/rebar3/_build/default/lib/rebar/src/rebar_prv_do.erl"},
{line,68}]},
{rebar_core,do,2,
[{file,"/home/tristan/Devel/rebar3/_build/default/lib/rebar/src/rebar_core.erl"},
{line,125}]},
{rebar3,main,1,
[{file,"/home/tristan/Devel/rebar3/_build/default/lib/rebar/src/rebar3.erl"},
{line,56}]},
{escript,run,2,[{file,"escript.erl"},{line,760}]},
{escript,start,1,[{file,"escript.erl"},{line,277}]},
{init,start_em,1,[]}]
===> When submitting a bug report, please include the output of `rebar3 report "your command"`
/opt/app $ mix deps.update idna
Running dependency resolution...
Dependency resolution completed:
bugsnag 1.4.0
bypass 0.6.0
certifi 1.2.0
combine 0.9.6
confex 2.0.1
connection 1.0.4
cowboy 1.1.2
cowlib 1.0.2
decimal 1.3.1
dialyxir 0.5.0
ecto 2.1.4
exq 0.8.7
gettext 0.13.1
hackney 1.8.2
httpoison 0.11.2
idna 5.0.0
meck 0.8.4
metrics 1.0.1
mime 1.1.0
mimerl 1.0.2
mock 0.2.1
phoenix 1.3.0-rc.2
phoenix_ecto 3.2.3
phoenix_pubsub 1.0.1
plug 1.3.5
poison 2.2.0
poolboy 1.5.1
ranch 1.3.2
redix 0.5.2
redix_pubsub 0.3.0
ssl_verify_fun 1.1.1
timex 3.1.15
timex_ecto 3.1.1
tzdata 0.5.12
uuid 1.1.7
from alpine-elixir.
Related Issues (20)
- Error when running application: :xmerl_scan is not available HOT 2
- Additional dependencies HOT 3
- Build and push 1.6 HOT 1
- Question: Image sizes HOT 1
- Docker Hub tags missing for elixir 1.7.4 build HOT 4
- Is a rebuild needed with the hex security issue? HOT 1
- Add tag for 1.8.1 for DockerHub HOT 2
- SSH agent forwarding is not working with the latest image HOT 2
- Manifest not found error for 1.9.1 HOT 3
- apk add build-base fails with musl-1.1.19-r10: HOT 1
- Tags to fix version HOT 1
- Build version 1.9.4 HOT 2
- Obsolete? HOT 3
- alpine-elixir:1.10.4 dockerhub image is using 1.11.0 HOT 2
- Publish dockerhub tag 1.11.1 HOT 2
- 1.11.3 released HOT 1
- Please create Elixir 1.12 image HOT 2
- version 1.12.2 not building any more. HOT 2
- libstdc++
- ERROR: failed to solve: ***/alpine-erlang:26.0.1: no match for platform in manifest sha256:8c6c0bd05724b421731232d1fe60edc0e48d32b19b131d7713b1086ffa697378: not found HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alpine-elixir.