Skip to content

Conversation

@WTFitsmemyself
Copy link

In case anyone wants to use docker to see Cmatrix in a container

Dockerfile Outdated
# 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
Copy link
Owner

@abishekvashok abishekvashok Jul 18, 2021

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?

Copy link
Author

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 :)

Copy link
Owner

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.

@abishekvashok abishekvashok added the Changes requested Changes have been requested for this PR. label Jul 18, 2021
Little 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 :)
@WTFitsmemyself WTFitsmemyself closed this by deleting the head repository Nov 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changes requested Changes have been requested for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants