Files
shadowsocks-rust/docker/linux-cross/Dockerfile
zonyitoo 0fc35d99ec fix: rollback rustls to v0.22
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
2024-06-01 18:11:16 +08:00

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