Skip to content

Commit ab0d48c

Browse files
dopamanerv-jenkins
andauthored
Docker build update (#2578)
* cut v from front of deps/k_release to match docker tag * explicitly state target kore to build kore-exec, kore-repl, and kore-parser. Otherwise only kore-exec builds and make test will not complete * remove cut for older k_release version formats Co-authored-by: rv-jenkins <[email protected]>
1 parent 37120f7 commit ab0d48c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Use `docker.sh` to run commands inside the container:
6060

6161
``` sh
6262
./docker/build.sh # run once when dependencies change
63-
./docker/run.sh make # build the backend
63+
./docker/run.sh make kore # build the backend
6464
./docker/run.sh make test # run all tests
6565
./docker/run.sh make -C test/imp test # run all tests in test/imp
6666
```

docker/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/usr/bin/env bash
2-
docker build --build-arg K_COMMIT=$(cat deps/k_release | cut --delimiter="-" --field="2") --build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g) -t kore .
2+
docker build --build-arg K_COMMIT=$(cat deps/k_release | cut -c2- ) --build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g) -t kore .

0 commit comments

Comments
 (0)