-
-
Notifications
You must be signed in to change notification settings - Fork 500
DockerFile Added #127
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
Closed
Closed
DockerFile Added #127
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| FROM alpine:3.13 | ||
| RUN apk add cmatrix | ||
| CMD [ "cmatrix" ] | ||
|
|
||
| #### Litle doc #### | ||
| # Now with command `docker build -t <NameOfImage:Tag> .` An image will create that the main work is to run Cmatrix | ||
| # After creation with command `docker run -it <NameOfImage:Tag>` Cmatrix will run :) | ||
|
|
||
| #### For @abishekvashok #### | ||
| # at first wanted to install from source code but can't autoconf in alpine and this way is neater | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this, just a simple query...
Hey, I feel the source code installation makes more sense. I don't know much about docker, but I can see an autoconf package for alpine available here: https://pkgs.alpinelinux.org/package/v3.3/main/x86/autoconf
Also, I would be happy, if you could move this comment out of the docker file to your PR or commit body, for someone else, when they view it, it kinda doesn't make sense. But if you want, we can keep it there. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your Welcome ,
Yes absolutely , installing from source code is best and essential but we add DockerFile for people who want to see a preview of the code and don't want to install in Host OS computer so they run docker and see the code in a container .
I use linux alpine because (because it is a 1.82MB linux :D) and it fits for everyone that has an unstable network who can't download Ubuntu image (about 30 - 50 MB) And also I see the Alpine link but the best way for docker to use an image is to get it from hub.docker.
OK, of course I add doc in commit body :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
50 mb seems reasonable if we can move the step of compilation there. We can use a release which has a configure so we won't need autotools.