Skip to content

Commit 7e0c613

Browse files
authored
projects/neqo: Avoid ADD in Dockerfile (#13213)
CC @jonathanmetzman
1 parent 03e03bb commit 7e0c613

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

projects/neqo/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616

1717
FROM gcr.io/oss-fuzz-base/base-builder-rust
1818

19-
ADD https://github.com/nss-dev/nspr.git $SRC/nspr
20-
ADD https://github.com/nss-dev/nss.git $SRC/nss
21-
ADD https://github.com/mozilla/neqo.git $SRC/neqo
19+
RUN git clone --depth 1 https://github.com/nss-dev/nspr $SRC/nspr
20+
RUN git clone --depth 1 https://github.com/nss-dev/nss $SRC/nss
21+
RUN git clone --depth 1 https://github.com/mozilla/neqo $SRC/neqo
22+
RUN ls -l $SRC
2223

2324
RUN apt-get update && apt-get install -y --no-install-recommends \
2425
libclang-dev gyp ninja-build python-is-python3 zlib1g-dev \

0 commit comments

Comments
 (0)