Skip to content

Commit

Permalink
feat(): hardcode libfaketime commit
Browse files Browse the repository at this point in the history
  • Loading branch information
peterthomassen committed Dec 13, 2023
1 parent caf59e3 commit c884ad0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.11-alpine

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

RUN apk add --no-cache bash dcron postgresql-client sqlite
Expand Down
5 changes: 0 additions & 5 deletions docker-compose.test-e2e2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@ services:
- "www.desec.${DESECSTACK_DOMAIN}:${DESECSTACK_IPV4_REAR_PREFIX16}.0.128"
- "get.desec.${DESECSTACK_DOMAIN}:${DESECSTACK_IPV4_REAR_PREFIX16}.0.128"

libfaketime:
# trajano/alpine-libfaketime is incompatible and stale; its libfaketime
# version is incompatible with Python 3.11's time.sleep(). Rebuilding helps.
build: https://github.com/peterthomassen/alpine-libfaketime.git#patch-1

volumes:
autocert:
faketime:
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,11 @@ services:
tag: "desec/prometheus"
restart: unless-stopped

libfaketime:
# trajano/alpine-libfaketime is incompatible and stale; its libfaketime
# version is incompatible with Python 3.11's time.sleep(). Rebuilding helps.
build: https://github.com/trajano/alpine-libfaketime.git#6fa8f6f44ea04bf7e442462a29d695eb9e89d0e0

volumes:
dbapi_postgres:
dblord_mysql:
Expand Down

0 comments on commit c884ad0

Please sign in to comment.