Skip to content

Commit c884ad0

Browse files
feat(): hardcode libfaketime commit
1 parent caf59e3 commit c884ad0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

api/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM python:3.11-alpine
22

3-
COPY --from=trajano/alpine-libfaketime /faketime.so /lib/libfaketime.so
3+
COPY --from=desec-stack_libfaketime /faketime.so /lib/libfaketime.so
44
RUN mkdir -p /etc/faketime
55

66
RUN apk add --no-cache bash dcron postgresql-client sqlite

docker-compose.test-e2e2.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,6 @@ services:
8989
- "www.desec.${DESECSTACK_DOMAIN}:${DESECSTACK_IPV4_REAR_PREFIX16}.0.128"
9090
- "get.desec.${DESECSTACK_DOMAIN}:${DESECSTACK_IPV4_REAR_PREFIX16}.0.128"
9191

92-
libfaketime:
93-
# trajano/alpine-libfaketime is incompatible and stale; its libfaketime
94-
# version is incompatible with Python 3.11's time.sleep(). Rebuilding helps.
95-
build: https://github.com/peterthomassen/alpine-libfaketime.git#patch-1
96-
9792
volumes:
9893
autocert:
9994
faketime:

docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,11 @@ services:
357357
tag: "desec/prometheus"
358358
restart: unless-stopped
359359

360+
libfaketime:
361+
# trajano/alpine-libfaketime is incompatible and stale; its libfaketime
362+
# version is incompatible with Python 3.11's time.sleep(). Rebuilding helps.
363+
build: https://github.com/trajano/alpine-libfaketime.git#6fa8f6f44ea04bf7e442462a29d695eb9e89d0e0
364+
360365
volumes:
361366
dbapi_postgres:
362367
dblord_mysql:

0 commit comments

Comments
 (0)