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

minideb:jessie image lacks netbase #282

Merged
merged 1 commit into from Jun 7, 2018

Conversation

kanghyojun
Copy link
Member

Building the docker image is failing with an error message ("(ConnectionFailure Network.BSD.getProtocolByName: does not exist (no such protocol name: tcp))"). I think the reason why the build is failing is that minideb:jessie which is the base image of nirum lacks the netbase package.

So I install it on Dockerfile.

See also, below links.

@kanghyojun kanghyojun self-assigned this May 29, 2018
@kanghyojun kanghyojun requested a review from dahlia May 29, 2018 02:43
@kanghyojun kanghyojun added the typ:bug Type: Bug/defect label May 29, 2018
@kanghyojun
Copy link
Member Author

@dahlia To release 0.4.0 on Dockerhub repository, it has to be fixed. Please review this :)

Copy link
Member

@dahlia dahlia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@admire93 Then has it became to work properly?

@kanghyojun
Copy link
Member Author

Nope :(. installing dependencies of the stack (stack install) is failing.

Step 10/22 : RUN stack install --only-dependencies --test --no-run-tests
---> Running in 700e1d03cb2f
Updating package index Hackage (mirrored at https://s3.amazonaws.com/hackage.fpcomplete.com/) ...
Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/
Downloading root
...

The command '/bin/sh -c stack install --only-dependencies --test --no-run-tests' returned a non-zero code: 137

@dahlia
Copy link
Member

dahlia commented May 29, 2018

Although it would make a much fatter image, I believe it is way simple to solve the problem if we use the official Debian or Ubuntu image.

@dahlia dahlia merged commit c7b83f9 into nirum-lang:0.4-maintenance Jun 7, 2018
dahlia pushed a commit that referenced this pull request Jun 7, 2018
minideb:jessie image lacks netbase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typ:bug Type: Bug/defect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants