update alpine and remove buildx restriction (#7583)
This commit is contained in:
parent
61c596bea6
commit
cb8ebcb880
2 changed files with 5 additions and 3 deletions
|
@ -46,7 +46,9 @@ fi
|
||||||
# We only need to do this setup on linux hosts
|
# We only need to do this setup on linux hosts
|
||||||
if [ "$(uname)" == 'Linux' ]; then
|
if [ "$(uname)" == 'Linux' ]; then
|
||||||
# NOTE: this is pinned to a digest for a reason!
|
# NOTE: this is pinned to a digest for a reason!
|
||||||
docker run --rm --privileged multiarch/qemu-user-static@sha256:28ebe2e48220ae8fd5d04bb2c847293b24d7fbfad84f0b970246e0a4efd48ad6 --reset -p yes
|
# Note2 (@rikatz) - Removing the pin, as apparently it's breaking new alpine builds
|
||||||
|
# docker run --rm --privileged multiarch/qemu-user-static@sha256:28ebe2e48220ae8fd5d04bb2c847293b24d7fbfad84f0b970246e0a4efd48ad6 --reset -p yes
|
||||||
|
docker run --rm --privileged multiarch/qemu-user-static:register --reset -p yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ensure we use a builder that can leverage it (the default on linux will not)
|
# Ensure we use a builder that can leverage it (the default on linux will not)
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:3.14.1 as builder
|
FROM alpine:3.14.2 as builder
|
||||||
|
|
||||||
COPY . /
|
COPY . /
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ RUN apk update \
|
||||||
&& /build.sh
|
&& /build.sh
|
||||||
|
|
||||||
# Use a multi-stage build
|
# Use a multi-stage build
|
||||||
FROM alpine:3.14.1
|
FROM alpine:3.14.2
|
||||||
|
|
||||||
ENV PATH=$PATH:/usr/local/luajit/bin:/usr/local/nginx/sbin:/usr/local/nginx/bin
|
ENV PATH=$PATH:/usr/local/luajit/bin:/usr/local/nginx/sbin:/usr/local/nginx/bin
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue