File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1- FROM debian:bookworm-slim
1+ FROM debian:testing
22
33ARG LDC_VERSION=1.41.0
4- ARG JUPTUNE_REF=52294fa45912dacac24efc80b4a2fad8db958841
4+ ARG JUPTUNE_REF=30c9b1d8d0420990075d108445641b5b1de64875
55ARG TFB_TEST_NAME
66
77ENV TEST_NAME=${TFB_TEST_NAME}
88
99# Install system deps & LDC
1010RUN apt update \
11- && apt install -y curl xz-utils gnupg libsodium-dev meson unzip pkg-config \
11+ && apt install -y curl xz-utils gnupg libsodium-dev meson unzip pkg-config clang cmake libssl-dev \
1212 && curl -fsS https://dlang.org/install.sh | bash -s ldc-${LDC_VERSION}
1313
1414# Install Juptune
@@ -17,14 +17,15 @@ RUN curl -fsSL https://github.com/Juptune/juptune/archive/${JUPTUNE_REF}.zip -o
1717 && unzip code.zip \
1818 && cd juptune* \
1919 && . ~/dlang/ldc-${LDC_VERSION}/activate \
20- && meson setup build --buildtype debugoptimized -Ddefault_library=static \
20+ && sed -i 's/1.0.20/1.0.18/' meson.build \
21+ && meson setup build --buildtype release -Dlightweight-results=true -Ddefault_library=static \
2122 && meson install -C build
2223
2324# Compile everything
2425WORKDIR /app
2526COPY ./src/ .
2627RUN . ~/dlang/ldc-${LDC_VERSION}/activate \
27- && meson setup build --buildtype debugoptimized -Ddefault_library=static \
28+ && meson setup build --buildtype release -Ddefault_library=static \
2829 && meson compile -C build
2930
3031ENTRYPOINT [ "/app/build/juptune-tfb" ]
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ dep = declare_dependency(
1919 include_directories : include_directories (' .' ),
2020 sources : srcs,
2121 dependencies : [juptune_dep],
22+ d_module_versions : [
23+ ' Juptune_Result_NoLineInfo' ,
24+ ' Juptune_Result_NoContext'
25+ ]
2226)
2327
2428#### Executables ####
You can’t perform that action at this time.
0 commit comments