Try and catch some errors for arm64 build
This commit is contained in:
parent
9cfb210ebb
commit
e159b98aac
@ -12,7 +12,7 @@ RUN apk add --no-cache nginx nginx-mod-mail bash
|
||||
ENV LEGOVER=v4.19.2
|
||||
RUN <<-EOF
|
||||
export ARCH=$(sh -c "([ \"`uname -m`\" = \"x86_64\" ] && echo amd64) || ([ \"`uname -m`\" = \"aarch64\" ] && echo arm64) || echo unknown")
|
||||
curl -sL https://github.com/go-acme/lego/releases/download/${LEGOVER}/lego_${LEGOVER}_linux_${ARCH}.tar.gz | tar -C /usr/sbin -xzf -
|
||||
curl -vsL https://github.com/go-acme/lego/releases/download/${LEGOVER}/lego_${LEGOVER}_linux_${ARCH}.tar.gz | tar -C /usr/sbin -xzf -
|
||||
EOF
|
||||
|
||||
# Configuration
|
||||
|
Loading…
Reference in New Issue
Block a user