Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
16bdc7d0
Commit
16bdc7d0
authored
Jan 27, 2023
by
neil
Browse files
fix from OpenAI
https://github.com/acmesh-official/acme.sh/issues/992
https://github.com/acmesh-official/acme.sh/pull/2609
parent
40002e80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
16bdc7d0
FROM
alpine:3.1
6.3
FROM
alpine:3.1
7
RUN
apk
--no-cache
add
-f
\
RUN
apk
--no-cache
add
-f
\
openssl
\
openssl
\
...
@@ -12,7 +12,8 @@ RUN apk --no-cache add -f \
...
@@ -12,7 +12,8 @@ RUN apk --no-cache add -f \
oath-toolkit-oathtool
\
oath-toolkit-oathtool
\
tar
\
tar
\
libidn
\
libidn
\
jq
jq
\
cronie
ENV
LE_CONFIG_HOME /acme.sh
ENV
LE_CONFIG_HOME /acme.sh
...
@@ -64,12 +65,10 @@ RUN for verb in help \
...
@@ -64,12 +65,10 @@ RUN for verb in help \
RUN
printf
"%b"
'#!'
"/usr/bin/env sh
\n
\
RUN
printf
"%b"
'#!'
"/usr/bin/env sh
\n
\
if [
\"\$
1
\"
=
\"
daemon
\"
]; then
\n
\
if [
\"\$
1
\"
=
\"
daemon
\"
]; then
\n
\
trap
\"
echo stop && killall crond && exit 0
\"
SIGTERM SIGINT
\n
\
exec crond -n
\n
\
crond && sleep infinity &
\n
\
wait
\n
\
else
\n
\
else
\n
\
exec --
\"\$
@
\"\n
\
exec --
\"\$
@
\"\n
\
fi"
>
/entry.sh
&&
chmod
+x /entry.sh
fi
\n
"
>
/entry.sh
&&
chmod
+x /entry.sh
VOLUME
/acme.sh
VOLUME
/acme.sh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment