Skip to content

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Mar 13, 2024
1 parent 63869bc commit a354a67
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions qns/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
FROM martenseemann/quic-network-simulator-endpoint:latest AS buildimage

RUN apt-get update && apt-get install -y --no-install-recommends \
curl git mercurial \
build-essential libclang-dev lld \
gyp ninja-build zlib1g-dev python \
curl lld \
&& apt-get autoremove -y && apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

Expand All @@ -16,16 +14,6 @@ ENV RUSTUP_HOME=/usr/local/rustup \
RUN curl https://sh.rustup.rs -sSf | \
sh -s -- -y -q --no-modify-path --profile minimal --default-toolchain $RUST_VERSION

ENV NSS_DIR=/nss \
NSPR_DIR=/nspr \
LD_LIBRARY_PATH=/dist/Release/lib

RUN set -eux; \
git clone --depth=1 https://github.com/nss-dev/nspr "$NSPR_DIR"; \
git clone --depth=1 https://github.com/nss-dev/nss "$NSS_DIR"

RUN "$NSS_DIR"/build.sh --static -Ddisable_tests=1 -o

ADD . /neqo

RUN set -eux; \
Expand Down

0 comments on commit a354a67

Please sign in to comment.