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
df037db0
Commit
df037db0
authored
May 14, 2017
by
neilpang
Browse files
clean cache
parent
949cc7d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
df037db0
...
...
@@ -4,17 +4,17 @@ RUN apk update -f \
&&
apk
--no-cache
add
-f
\
openssl
\
curl
\
netcat-openbsd
netcat-openbsd
\
&&
rm
-rf
/var/cache/apk/
*
ENV
LE_CONFIG_HOME /acme.sh
ENV
AUTO_UPGRADE 1
#Install
RUN
mkdir
-p
/install_acme.sh/
ADD
./ /install_acme.sh/
RUN
cd
/install_acme.sh
&&
([
-f
/install_acme.sh/acme.sh
]
&&
/install_acme.sh/acme.sh
--install
||
curl https://get.acme.sh | sh
)
RUN
rm
-rf
/install_acme.sh/
RUN
cd
/install_acme.sh
&&
([
-f
/install_acme.sh/acme.sh
]
&&
/install_acme.sh/acme.sh
--install
||
curl https://get.acme.sh | sh
)
&&
rm
-rf
/install_acme.sh/
RUN
ln
-s
/root/.acme.sh/acme.sh /usr/local/bin/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