Skip to content

Commit 9c72567

Browse files
committed
Pin rust instead of relying on outdated system version
1 parent 0c42579 commit 9c72567

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

integration-tests/Dockerfile.test_client

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN apt install --yes \
66
sqlite3 \
77
poppler-utils \
88
protobuf-compiler \
9-
cargo
9+
clang
1010
RUN ln -s /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 /usr/lib/x86_64-linux-gnu/libsqlite3.so
1111

1212
RUN groupadd --gid 1234 test-group
@@ -15,6 +15,9 @@ RUN chown --recursive test-client:test-group /app
1515

1616
USER test-client
1717

18+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.91.1
19+
ENV PATH="/home/test-client/.cargo/bin:${PATH}"
20+
1821
ARG MEESIGN_TEST_CLIENT_REPO_OWNER=crocs-muni
1922
ARG MEESIGN_TEST_CLIENT_REPO_BRANCH=devel
2023
RUN git clone \
@@ -29,7 +32,6 @@ RUN cd meesign_native/native/meesign-crypto && cargo build --release --target x8
2932
WORKDIR /app/meesign-client/meesign_core
3033
RUN dart pub get
3134

32-
# TODO add test user account?
3335
ENV LD_LIBRARY_PATH="/usr/lib/x86_64-linux-gnu/:/app/meesign-client/meesign_native/native/meesign-crypto/target/x86_64-unknown-linux-gnu/release/"
3436
ENV MEESIGN_SERVER_DOMAIN=meesign-server
3537
ENV MEESIGN_SERVER_PORT=1337

0 commit comments

Comments
 (0)