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

Bug: docker build - Illegal instruction #16

Closed
oknozor opened this issue Dec 8, 2017 · 1 comment
Closed

Bug: docker build - Illegal instruction #16

oknozor opened this issue Dec 8, 2017 · 1 comment

Comments

@oknozor
Copy link

oknozor commented Dec 8, 2017

I am trying to build the backend server whith the provided dockerfile.
Build is ok but i get the following error when trying to run the container :

./entrypoint.sh: line 5:    10 Illegal instruction     (core dumped) python manage.py migrate
./entrypoint.sh: line 6:    15 Illegal instruction     (core dumped) python manage.py migrate --run-syncdb
./entrypoint.sh: line 12:    20 Illegal instruction     (core dumped) python manage.py shell  <<EOF
from django.contrib.auth.models import User
User.objects.filter(email='$ADMIN_EMAIL').delete()
User.objects.create_superuser('$ADMIN_USERNAME', '$ADMIN_EMAIL', '$ADMIN_PASSWORD')
EOF

Running server...
./entrypoint.sh: line 16:    25 Illegal instruction     (core dumped) python manage.py runserver 0.0.0.0:8000

Any idea how i shall fix it?

@arthurdk
Copy link
Contributor

That's because your processor does not support AVX instruction see #10

@hooram hooram closed this as completed Apr 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants