Files
shadowsocks-libev/docker/build/builder.Dockerfile
Max Lv 62cbdb6619 Fix the fully static image and the build image for the C++ sources
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).
2026-10-15 00:34:32 +08:00

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