Skip to content

Commit e5ed134

Browse files
authored
Update README.md
1 parent 5bc0268 commit e5ed134

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,17 @@
22

33
The repository is part of the [Compiler Explorer](https://godbolt.org/) project. It builds
44
the docker images used to build the various GCC compilers used on the site.
5+
6+
## To Test
7+
8+
This assumes you have set up your user account to be able to run
9+
`docker` [without being root](https://docs.docker.com/engine/security/rootless/);
10+
if you haven't done so, you'll need to prefix these commands with `sudo`.
11+
12+
* `docker build -t gccbuilder .`
13+
* `docker run gccbuilder ./build.sh trunk`
14+
15+
### Alternative to run (for better debugging)
16+
17+
* `docker run -t -i gccbuilder bash`
18+
* `./build.sh trunk`

0 commit comments

Comments
 (0)