File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
builders/build-linux-rust Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ COPY --from=ghcr.io/nordsecurity/uniffi-generators:v0.25.0-8 /bin/uniffi-bindgen
12
12
COPY --from=ghcr.io/nordsecurity/uniffi-generators:v0.25.0-8 /bin/uniffi-bindgen-go /bin
13
13
COPY --from=ghcr.io/nordsecurity/uniffi-generators:v0.25.0-8 /bin/uniffi-bindgen-cpp /bin
14
14
15
+ ENV QDK_TAG=v2.3.14
16
+
15
17
# Multilib is not present in an arm64 debian but is used by libtelio
16
18
RUN set -eux; \
17
19
export DEBIAN_FRONTEND=noninteractive; \
@@ -56,3 +58,23 @@ RUN cargo search --limit 1
56
58
57
59
# Install `sccache`
58
60
RUN cargo install sccache --version 0.4.2
61
+
62
+ # Install QDK framework for QNAP packages (QPKG)
63
+ RUN set -eux; \
64
+ export DEBIAN_FRONTEND=noninteractive; \
65
+ git clone https://github.com/qnap-dev/QDK.git --branch "${QDK_TAG}" ; \
66
+ cd QDK; \
67
+ ./InstallToUbuntu.sh install
68
+
69
+ # Cleanup
70
+ RUN set -eux; \
71
+ export DEBIAN_FRONTEND=noninteractive; \
72
+ apt-get remove --purge -yq; \
73
+ apt-get autoclean -y; \
74
+ apt-get autoremove -y; \
75
+ rm -rf QDK; \
76
+ rm -rf /var/lib/{cache,log}/; \
77
+ rm -rf /var/lib/apt/lists/*; \
78
+ rm -rf /tmp/* /var/tmp/*; \
79
+ rm -rf /usr/share/doc/; \
80
+ rm -rf /usr/share/man/
You can’t perform that action at this time.
0 commit comments