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
7883cc58
Commit
7883cc58
authored
Apr 16, 2017
by
neilpang
Browse files
fix docker cronjob
parent
cd989510
Changes
1
Show whitespace changes
Inline
Side-by-side
Dockerfile
View file @
7883cc58
...
@@ -48,5 +48,12 @@ RUN for verb in help \
...
@@ -48,5 +48,12 @@ RUN for verb in help \
printf -- "%b" "#!/usr/bin/env sh\n/root/.acme.sh/acme.sh --${verb} --config-home /acme.sh \"\$@\"" >/usr/local/bin/--${verb} && chmod +x /usr/local/bin/--${verb} \
printf -- "%b" "#!/usr/bin/env sh\n/root/.acme.sh/acme.sh --${verb} --config-home /acme.sh \"\$@\"" >/usr/local/bin/--${verb} && chmod +x /usr/local/bin/--${verb} \
; done
; done
ENTRYPOINT
["/root/.acme.sh/acme.sh", "--config-home", "/acme.sh"]
RUN
printf
"%b"
'#!'
"/usr/bin/env sh
\n
\
if [
\"\$
1
\"
=
\"
daemon
\"
]; then
\n
\
crond; tail -f /dev/null;
\n
\
else
\n
\
/root/.acme.sh/acme.sh --config-home /acme.sh
\"\$
@
\"\n
\
fi"
>
/entry.sh
&&
chmod
+x /entry.sh
ENTRYPOINT
["/entry.sh"]
CMD
["--help"]
CMD
["--help"]
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