Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ RUN export CONTAINERPILOT_CHECKSUM=6da4a4ab3dd92d8fd009cdb81a4d4002a90c8b7c \
&& rm /tmp/containerpilot.tar.gz

# Add Dehydrated
RUN export DEHYDRATED_VERSION=v0.3.1 \
RUN export DEHYDRATED_VERSION=v0.5.0 \
&& curl --retry 8 --fail -Lso /tmp/dehydrated.tar.gz "https://github.com/lukas2511/dehydrated/archive/${DEHYDRATED_VERSION}.tar.gz" \
&& tar xzf /tmp/dehydrated.tar.gz -C /tmp \
&& mv /tmp/dehydrated-0.3.1/dehydrated /usr/local/bin \
&& rm -rf /tmp/dehydrated-0.3.1
&& mv /tmp/dehydrated-0.5.0/dehydrated /usr/local/bin \
&& rm -rf /tmp/dehydrated-0.5.0

# Add jq
RUN export JQ_VERSION=1.5 \
Expand Down
5 changes: 4 additions & 1 deletion etc/acme/dehydrated/hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,7 @@ function log {
fi
}

HANDLER=$1; shift; $HANDLER $@
HANDLER="$1"; shift
if [[ "${HANDLER}" =~ ^(deploy_challenge|clean_challenge|deploy_cert|unchanged_cert)$ ]]; then
"$HANDLER" "$@"
fi
2 changes: 1 addition & 1 deletion etc/containerpilot.json5
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
{
name: "acme-checkin",
exec: [ "acme", "checkin" ],
timeout: "10s",
timeout: "30s",
when: {
interval: "1h",
}
Expand Down