Open DyosDV opened 8 months ago
у вас не полностью установлен docker buildx скорее всего для сборки arm-v7 нужно поставить (https://www.staldal.nu/tech/2023/02/10/how-to-enable-multi-platform-docker-builds-on-ubuntu-22-04/):
apt install qemu-user-static
Здравствуйте. При сборке - ошибка:
$ sudo make build-arm7 cd amnezia-wg; make clean; GOOS=linux GOARCH=arm GOARM=7 make; cd .. make[1]: вход в каталог «~/amnezia-wg-docker/amnezia-wg» rm -f amneziawg-go make[1]: выход из каталога «~/amnezia-wg-docker/amnezia-wg» make[1]: вход в каталог «~/amnezia-wg-docker/amnezia-wg» go build -v -o "amneziawg-go" make[1]: выход из каталога «~/amnezia-wg-docker/amnezia-wg» DOCKER_BUILDKIT=1 docker buildx build --no-cache --platform linux/arm/v7 --output=type=docker --tag docker-awg:latest . [+] Building 1.9s (8/19) docker:default => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.56kB 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/alpine:3.19 1.6s => [internal] load metadata for docker.io/library/golang:1.21-alpine3.19 1.6s => CANCELED [builder 1/4] FROM docker.io/library/golang:1.21-alpine3.19@sha256:d7c6083c5400694f7a17b07c4fad8db9115c0e8e3cf62f781cb29cc890a64e8e 0.3s => => resolve docker.io/library/golang:1.21-alpine3.19@sha256:d7c6083c5400694f7a17b07c4fad8db9115c0e8e3cf62f781cb29cc890a64e8e 0.0s => => sha256:0e736a500f1735a73f7c0c6df5d9aaff0cdf79490eb7582584ae5d5fc8c72779 0B / 65.77MB 0.3s => => sha256:24491ac34a379beb9a46cf105681e64700ea11f88af53428d570921782ffea55 0B / 174B 0.3s => => sha256:d7c6083c5400694f7a17b07c4fad8db9115c0e8e3cf62f781cb29cc890a64e8e 1.65kB / 1.65kB 0.0s => => sha256:8bc6048ab2ccff3f4fe63a04b2bddc450a6699facbbd49187e07eb80bcf83a3b 1.36kB / 1.36kB 0.0s => => sha256:89136f06e8d40658b2756a32e978366a07c99ba83fd7cd43d1fedd14a2bfdcab 2.14kB / 2.14kB 0.0s => => sha256:c2fabedc5bd9b69689c72cc189479c37195587f7ed277acee62e4d8697939c19 0B / 284.23kB 0.3s => [internal] load build context 0.1s => => transferring context: 4.04MB 0.1s => CACHED [stage-1 1/10] FROM docker.io/library/alpine:3.19@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b 0.0s => ERROR [stage-1 2/10] RUN apk update && apk add --no-cache bash openrc iptables iptables-legacy iproute2 0.3s