Skip to content

Instantly share code, notes, and snippets.

View itsnebulalol's full-sized avatar
👋
Hey there!

Dominic Frye itsnebulalol

👋
Hey there!
View GitHub Profile
FROM alpine AS base
ENV CONF_ARGS="--disable-shared" \
CMAKE_ARGS="-DBUILD_SHARED_LIBS=0" \
CC="clang" \
CFLAGS="-fPIC" \
CXX="clang++" \
CXXFLAGS="-fPIC" \
LD="ld.lld" \
LDFLAGS="-fuse-ld=/usr/bin/ld.lld -static -static-libgcc -Wl,--allow-multiple-definition -Wl,--no-dynamic-linker -Wl,-static"
RUN apk add --no-cache autoconf automake bash clang15 cmake coreutils gcc g++ git libtool lld m4 make musl musl-dev openssl-dev openssl-libs-static pkgconf && \