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

Getting standard_init_linux.go:178: exec user process caused "exec format error" #16

Open
langerkunal opened this issue Dec 5, 2018 · 0 comments

Comments

@langerkunal
Copy link

When I am trying to build this rsvp app I am getting this

dockuser@Test-LPAR-Ubuntu:/rsvp_files$ sudo docker build --no-cache -t rsvp .
Sending build context to Docker daemon 14.85 kB
Step 1/10 : FROM teamcloudyuga/python:alpine
---> b0c552b8cf64
Step 2/10 : COPY . /usr/src/app
---> 497a21d01132
Removing intermediate container bec636845ac8
Step 3/10 : WORKDIR /usr/src/app
---> 3e00477ca6ea
Removing intermediate container 4a6b5abd2224
Step 4/10 : ENV LINK http://www.meetup.com/cloudyuga/
---> Running in eaeaf609f67c
---> 82124b40e12e
Removing intermediate container eaeaf609f67c
Step 5/10 : ENV TEXT1 CloudYuga
---> Running in 895779099a35
---> 33dbc082c94e
Removing intermediate container 895779099a35
Step 6/10 : ENV TEXT2 Garage RSVP!
---> Running in ce37f915cfc2
---> 68e5559e73bb
Removing intermediate container ce37f915cfc2
Step 7/10 : ENV LOGO https://raw.githubusercontent.com/cloudyuga/rsvpapp/master/static/cloudyuga.png
---> Running in b9490015d328
---> 72056c453f3e
Removing intermediate container b9490015d328
Step 8/10 : ENV COMPANY CloudYuga Technology Pvt. Ltd.
---> Running in 93b6d9a16e12
---> 83d07470a4e7
Removing intermediate container 93b6d9a16e12
Step 9/10 : RUN pip install -r requirements.txt
---> Running in 0d279152c6a9
standard_init_linux.go:178: exec user process caused "exec format error"
The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1
dockuser@Test-LPAR-Ubuntu:
/rsvp_files$

Content of Dockerfile as copied from webpage
dockuser@Test-LPAR-Ubuntu:/rsvp_files$ cat Dockerfile
FROM teamcloudyuga/python:alpine
COPY . /usr/src/app
WORKDIR /usr/src/app
ENV LINK http://www.meetup.com/cloudyuga/
ENV TEXT1 CloudYuga
ENV TEXT2 Garage RSVP!
ENV LOGO https://raw.githubusercontent.com/cloudyuga/rsvpapp/master/static/cloudyuga.png
ENV COMPANY CloudYuga Technology Pvt. Ltd.
RUN pip install -r requirements.txt
CMD python rsvp.py
dockuser@Test-LPAR-Ubuntu:
/rsvp_files$

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

1 participant