mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-21 14:33:55 +00:00
docker/static: the C++ unit tests link the static libstdc++, whose error paths need an unwinder that --rtlib=compiler-rt does not provide; link llvm-libunwind. The programs themselves still need no C++ runtime. docker/build: build in the default bundled mode with CMake instead of against libev/udns (Alpine's Mbed TLS 4 is not supported by system mode).
8 lines
318 B
Docker
8 lines
318 B
Docker
# Development image for building shadowsocks-c. The default bundled mode
|
|
# builds every dependency from third_party/dist, so only a toolchain is
|
|
# needed (Alpine's Mbed TLS 4 is not supported by system mode).
|
|
FROM alpine
|
|
|
|
RUN apk add --no-cache --virtual .build-deps \
|
|
build-base cmake ninja python3 linux-headers
|