aboutsummaryrefslogtreecommitdiff
path: root/projects/nats
diff options
context:
space:
mode:
Diffstat (limited to 'projects/nats')
-rw-r--r--projects/nats/Dockerfile4
-rwxr-xr-xprojects/nats/build.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/projects/nats/Dockerfile b/projects/nats/Dockerfile
index 9667bd710..a9dbcf4cf 100644
--- a/projects/nats/Dockerfile
+++ b/projects/nats/Dockerfile
@@ -15,6 +15,6 @@
################################################################################
FROM gcr.io/oss-fuzz-base/base-builder
-RUN go get github.com/nats-io/nats-server
+RUN git clone --depth 1 https://github.com/nats-io/nats-server
COPY build.sh $SRC/
-WORKDIR $SRC/
+WORKDIR $SRC/nats-server
diff --git a/projects/nats/build.sh b/projects/nats/build.sh
index 25089d54f..2235a6e4b 100755
--- a/projects/nats/build.sh
+++ b/projects/nats/build.sh
@@ -17,6 +17,6 @@
-compile_go_fuzzer github.com/nats-io/nats-server/conf Fuzz fuzz_conf
-compile_go_fuzzer github.com/nats-io/nats-server/server FuzzClient fuzz_client
+compile_go_fuzzer ./conf Fuzz fuzz_conf
+compile_go_fuzzer ./server FuzzClient fuzz_client