aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-11-21 00:28:03 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-11-21 00:28:03 +0100
commit4e3898b34a5dbcfabbcf861998d915c261831b60 (patch)
treebf41be059bdb96c38cfacc5761f8b2631c494f23 /README.md
parent105089e17aa19b326f6d0fd00b00edd9e3ad5564 (diff)
downloadllvm-kaleidoscope-rs-4e3898b34a5dbcfabbcf861998d915c261831b60.tar.gz
llvm-kaleidoscope-rs-4e3898b34a5dbcfabbcf861998d915c261831b60.zip
add comment to either use podman or docker
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 12 insertions, 2 deletions
diff --git a/README.md b/README.md
index 9bd0eda..55eec94 100644
--- a/README.md
+++ b/README.md
@@ -61,16 +61,26 @@ Rustdoc for this crate is available at
## Build with provided container file
-The provided [Dockerfile](docker/Dockerfile) documents the required
+The provided [Dockerfile](container/Dockerfile) documents the required
dependencies for an ubuntu based system and serves as a build environment with
the correct llvm version as specified in the [Cargo.toml](Cargo.toml) file.
```bash
+## Either user podman ..
+
# Build the image *ks-rs*. Depending on the downlink this may take some minutes.
-make -C docker
+make -C container
podman run --rm -it -v $PWD:/work -w /work ks-rs
# Drops into a shell in the container, just use cargo build / run ...
+
+## .. or docker.
+
+# Build the image *ks-rs*. Depending on the downlink this may take some minutes.
+make -C container docker
+
+docker run --rm -it -v $PWD:/work -w /work ks-rs
+# Drops into a shell in the container, just use cargo build / run ...
```
## License