mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
rustls v0.23 starts to use aws-lc as the default crypto implementation. But now not all the dependencies are upgraded to the latest rustls. If there are still any older version of rustls exists in the build process, aws-lc may fails. - ref aws/aws-lc-rs#428 - ref aws/aws-lc-rs#427 - ref aws/aws-lc-rs#426
12 lines
318 B
Docker
12 lines
318 B
Docker
ARG CROSS_BASE_IMAGE
|
|
FROM $CROSS_BASE_IMAGE
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get update && \
|
|
apt-get install --assume-yes --no-install-recommends build-essential cmake nasm llvm-8-dev libclang-8-dev clang-8 && \
|
|
git config --global --add safe.directory '*' && \
|
|
rm -rf /tmp/*
|
|
|
|
ENV GOCACHE=/tmp
|