Skip to content

Commit

Permalink
fix(test): build libfaketime instead of copy bin
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-wisiol committed Aug 30, 2024
1 parent 909c43b commit 3ea9bba
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/e2e2/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 3ea9bba

Please sign in to comment.