Remove workaround for Pebble container

pull/168/head
Richard Körber 2024-06-07 17:30:47 +02:00
parent 6120a2b476
commit 514b188c69
No known key found for this signature in database
GPG Key ID: AAB9FD19C78AA3E0
3 changed files with 11 additions and 17 deletions

View File

@ -115,10 +115,7 @@
<images> <images>
<image> <image>
<alias>pebble</alias> <alias>pebble</alias>
<name>acme4j/pebble:${project.version}</name> <name>ghcr.io/letsencrypt/pebble:latest</name>
<build>
<dockerFile>pebble.dockerfile</dockerFile>
</build>
<run> <run>
<ports> <ports>
<port>14000:14000</port><!-- ACME API --> <port>14000:14000</port><!-- ACME API -->
@ -127,6 +124,15 @@
<links> <links>
<link>bammbamm</link> <link>bammbamm</link>
</links> </links>
<cmd>
<exec>
<arg>-strict</arg>
<arg>-dnsserver</arg>
<arg>bammbamm:8053</arg>
<arg>-config</arg>
<arg>/test/config/pebble-config.json</arg>
</exec>
</cmd>
<wait> <wait>
<log>Listening</log> <log>Listening</log>
</wait> </wait>
@ -140,6 +146,7 @@
<alias>bammbamm</alias> <alias>bammbamm</alias>
<name>acme4j/challtestsrv:${project.version}</name> <name>acme4j/challtestsrv:${project.version}</name>
<build> <build>
<!-- Workaround for https://github.com/letsencrypt/pebble/issues/418 -->
<dockerFile>challtestsrv.dockerfile</dockerFile> <dockerFile>challtestsrv.dockerfile</dockerFile>
</build> </build>
<run> <run>

View File

@ -1,7 +0,0 @@
FROM ghcr.io/letsencrypt/pebble:latest
FROM alpine
COPY --from=0 /app /app
COPY --from=0 /test /test
COPY pebble.sh /
ENTRYPOINT [ "/pebble.sh" ]

View File

@ -1,6 +0,0 @@
#!/bin/sh
BAMMBAMM_IP=$(getent hosts bammbamm|cut -d' ' -f1)
echo "DNS server at: $BAMMBAMM_IP"
/app -strict -dnsserver $BAMMBAMM_IP:8053 -config /test/config/pebble-config.json