-
Notifications
You must be signed in to change notification settings - Fork 100
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
Add docker support #87
base: master
Are you sure you want to change the base?
Conversation
use size_t for void pointer cast
Repos hosted in GitHub have the advantage of a rich API. The variables where this change will be reflected are: LLVM_GIT_URL, WITH_LLVM_URL CLANG_GIT_URL, CLANG_GIT_URL CLING_GIT_URL, CLING_GIT_URL
- prefer new method if the repos are hosted in Github - fix an IndexError bug in home-grown wget()
CPT disk space usage optimizations.
CPT improvements.
# get the build from docker hub | ||
docker pull maddouri/cling-ubuntu-docker | ||
# run it ! (the entry point is cling) | ||
docker run -it maddouri/cling-ubuntu-docker |
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.
What does a prebuilt image mean? Do we need this to go in cling's mainline?
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.
Just a Docker Image that someone (in this instance, I) pushed to Docker Hub.
Apart from the files in tools/docker
, there is nothing else to merge.
If you decide to merge this PR, you will have the following options:
- Let the users build their own images, (on their own machines)
- Build your own "official" image, push it to your own Docker Hub repo, and let the users know that they can pull it directly from Docker Hub,
- Let the users pull other users' images. (e.g. the ones I've pushed to Docker Hub)
Hello,
This is a followup to #85
I think that it may prove interesting to have a docker build. Most notably, it allows the following:
tools/docker/README.md
)I wasn't sure where exactly to put the files, so I used
tools/docker
. Feel free to propose another location.I have already published a standalone version at https://github.com/maddouri/cling-ubuntu-docker
You can test it by running the following: