Skip to content

Commit be6d6d7

Browse files
authored
netcdf: fix broken build (google#14778)
In the Dockerfile, when the COPY instruction is used to copy multiple files, the target path $SRC lacks the trailing slash /. This results in a syntax error. The solution is to add a slash at the end of the target path.
1 parent 3291f34 commit be6d6d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/netcdf/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
FROM gcr.io/oss-fuzz-base/base-builder
1818
RUN apt-get update && apt-get install -y cmake m4 zlib1g-dev libcurlpp-dev libcurl4-openssl-dev
1919
RUN git clone --depth 1 https://github.com/Unidata/netcdf-c
20-
COPY run_tests.sh build.sh $SRC
20+
COPY run_tests.sh build.sh $SRC/
2121
WORKDIR $SRC/netcdf-c

0 commit comments

Comments
 (0)