Merge pull request #1128 from Neilpang/dev

fix https://github.com/Neilpang/acme.sh/issues/1127
This commit is contained in:
neil 2017-12-02 19:56:39 +08:00 committed by GitHub
commit b6aff65997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM alpine
FROM alpine:3.6
RUN apk update -f \
&& apk --no-cache add -f \

View File

@ -463,8 +463,7 @@ if _exists xargs && [ "$(printf %s '\\x41' | xargs printf)" = 'A' ]; then
fi
_h2b() {
if _exists xxd; then
xxd -r -p
if _exists xxd && xxd -r -p 2>/dev/null; then
return
fi