merge in gatherings branch and fix Dockerfile

This commit is contained in:
DJMrTV 2025-05-29 15:22:53 +02:00
commit 058e656349

View file

@ -4,11 +4,11 @@ WORKDIR /app
COPY . .
RUN apk add --no-cache protobuf-dev git musl-dev lld
RUN apk add --no-cache protobuf-dev git musl-dev lld openssl-dev openssl-libs-static
RUN git submodule update --init --recursive
RUN RUSTFLAGS="-C relocation-model=static -C linker=ld.lld" cargo build --profile prod --target x86_64-unknown-linux-musl
RUN OPENSSL_LIB_DIR=/usr/lib OPENSSL_INCLUDE_DIR=/usr/include/openssl OPENSSL_STATIC=1 RUSTFLAGS="-C relocation-model=static -C linker=ld.lld" cargo build --profile prod --target x86_64-unknown-linux-musl
FROM scratch AS final