You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 11, 2025. It is now read-only.
Create docker-compose.yml, add .env file, update README.md instructions and project/Dockerfile image name of the base referenced in FROM directive, bring --on-init build argument back, add environment compose entry
run your instance docker container with proxied 10240 port CE listens on
30
+
once everything is built and run - open your browser with **http://localhost:10240** and enjoy.
31
31
32
-
```powershell
33
-
docker run -p 10240:10240 -it godbolt.instance --run-godbolt
34
-
```
35
-
36
-
open your browser with **http://localhost:10240** and enjoy.
37
-
38
-
### Image creation arguments
39
-
40
-
There are a few OS-wide variables you can override for building images, you can also override `BUILD_SCRIPT_ARGS` to execute initial [***build***](https://github.com/Devsh-Graphics-Programming/Compiler-Explorer-DXC-Windows-Docker/blob/master/project/scripts/build.py) script with different set of arguments - refer to base & instance docker files and build script syntax bellow for more details.
41
-
42
-
### Container creation arguments
32
+
### Build script options
43
33
44
-
Containers created from the instance image have `ENTRYPOINT` set to application proxy batch script executing [***build***](https://github.com/Devsh-Graphics-Programming/Compiler-Explorer-DXC-Windows-Docker/blob/master/project/scripts/build.py) python script, the syntax is following
34
+
Instance image and a container use proxy batch script executing [***build***](https://github.com/Devsh-Graphics-Programming/Compiler-Explorer-DXC-Windows-Docker/blob/master/project/scripts/build.py) python script with following syntax
45
35
46
36
```powershell
47
37
<BUILD_SCRIPT_OPTIONS> -- <CMAKE_BUILD_OPTIONS>
48
38
```
49
39
50
-
for example you may wish to run container with increased parallel build jobs and verbosity to build latest DXC but don't want to run compiler explorer with it hence you would execute
40
+
you may wish to increase parallel build jobs and verbosity to build latest DXC while composing the application & running the container hence you would
51
41
52
42
```powershell
53
-
docker run -p 10240:10240 -it godbolt.instance -- -j12 -v
0 commit comments