Skip to content

Commit

Permalink
Fix up the README, see #53
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgodbolt committed Aug 19, 2023
1 parent 4a7ed59 commit 0a6b21d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ the docker images used to build the various clang compilers used on the site.

## To Test

* `sudo docker build -t clangbuilder .`
* `sudo docker run clangbuilder ./build.sh trunk`
This assumes you have set up your user account to be able to run
`docker` [without being root](https://docs.docker.com/engine/security/rootless/);
if you haven't done so, you'll need to prefix these commands with `sudo`.

* `docker build --build-arg image=22.04 -t clangbuilder .`
* `docker run clangbuilder ./build.sh trunk`

### Alternative to run (for better debugging)

* `sudo docker run -t -i clangbuilder bash`
* `docker run -t -i clangbuilder bash`
* `./build.sh trunk`

0 comments on commit 0a6b21d

Please sign in to comment.