mirror of https://github.com/shred/acme4j
Remove workaround for Pebble container
parent
6120a2b476
commit
514b188c69
|
@ -115,10 +115,7 @@
|
|||
<images>
|
||||
<image>
|
||||
<alias>pebble</alias>
|
||||
<name>acme4j/pebble:${project.version}</name>
|
||||
<build>
|
||||
<dockerFile>pebble.dockerfile</dockerFile>
|
||||
</build>
|
||||
<name>ghcr.io/letsencrypt/pebble:latest</name>
|
||||
<run>
|
||||
<ports>
|
||||
<port>14000:14000</port><!-- ACME API -->
|
||||
|
@ -127,6 +124,15 @@
|
|||
<links>
|
||||
<link>bammbamm</link>
|
||||
</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>
|
||||
<log>Listening</log>
|
||||
</wait>
|
||||
|
@ -140,6 +146,7 @@
|
|||
<alias>bammbamm</alias>
|
||||
<name>acme4j/challtestsrv:${project.version}</name>
|
||||
<build>
|
||||
<!-- Workaround for https://github.com/letsencrypt/pebble/issues/418 -->
|
||||
<dockerFile>challtestsrv.dockerfile</dockerFile>
|
||||
</build>
|
||||
<run>
|
||||
|
|
|
@ -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" ]
|
|
@ -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
|
Loading…
Reference in New Issue