0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-07-04 03:13:37 +00:00
Files
libsql/Dockerfile.musl

18 lines
492 B
Docker
Raw Permalink Normal View History

# A dockerfile that can be used to build musl targets
# currently this is setup to run the most basic libsql example
# to force the linker to resolve. This was able to reproduce the
# fcntl64 issues + other issues that require custom flags for musl.
FROM messense/rust-musl-cross:x86_64-musl
RUN rustup target add x86_64-unknown-linux-musl
COPY . .
RUN rm rust-toolchain.toml
ENV LIBSQL_DEV=1
RUN apt-get install -y cmake
RUN cargo run -p libsql --example example --features encryption