From 3ea9bba1b5e4f809fa39e8eee1a8f78158637144 Mon Sep 17 00:00:00 2001 From: Nils Wisiol Date: Fri, 30 Aug 2024 17:05:21 +0200 Subject: [PATCH] fix(test): build libfaketime instead of copy bin --- test/e2e2/Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/e2e2/Dockerfile b/test/e2e2/Dockerfile index 9e0d7f924..a2fc6c4aa 100644 --- a/test/e2e2/Dockerfile +++ b/test/e2e2/Dockerfile @@ -1,8 +1,14 @@ +FROM alpine/git +RUN git clone https://github.com/wolfcw/libfaketime /libfaketime \ + && apk -U add build-base +WORKDIR /libfaketime +RUN make && make install + FROM python:3.11-alpine RUN apk add --no-cache bash curl -COPY --from=desec-stack_libfaketime /faketime.so /lib/libfaketime.so +COPY --from=0 /usr/local/lib/faketime/libfaketimeMT.so.1 /lib/libfaketime.so RUN mkdir -p /etc/faketime RUN mkdir /e2e