- Notifications
You must be signed in to change notification settings - Fork1
Devsh-Graphics-Programming/Compiler-Explorer-Docker
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Note
Hyper-V Windows featureis not really required if you use process isolation for both the image build & runtime.
Important
If using Docker Desktop - first make sure you have switched toContainers for Windows. If you are CLI user and have client & daemon headless, then use appropriate windows build context.
execute
docker run-it-p80:10240 ghcr.io/devsh-graphics-programming/compiler-explorer-docker:nano-2022
and open your browser withhttp://localhost.
clone the repository
git clone https://github.com/Devsh-Graphics-Programming/Compiler-Explorer-Docker.git
enter the cloned directory and build the image
docker build--isolation"process"-t godbolt/nano .
Tip
I highly recommend to build the image without virtualization (process isolation) to use all host resources, HyperV isolation will assign 1/2 CPUs + 1GB of RAM by default hence the result could be < 10x slower buildwithout assigning cpu resources by hand. If you get an error and can't use process isolation it's because your host kernel version is too low - update your OS or switch to HyperV (skip--process "isolation" flag).
Tip
The image is built with default set of options, there are a few you can override (eg. NodeJS version, remote & sha of CE). SeeDockerfile code for more details.
then run the container
docker run-p80:10240-it godbolt/nano
Important
You should use produced image as base to provide your own compilers (installation binaries) & configuration files for CE to use them. By default we run it without any compilers.
We use this image as base for Nabla Shader Compiler we host onhttps://godbolt.devsh.eu, it gets created by buildingCMake target which is part of Nabla build system, for more details checkout itsreadme
About
Run Compiler Explorer in Windows Nano Server 2022!
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.
