Open XayOn opened 3 years ago
If this is due to DH's recent changes, maybe using github pipelines and publishing it to github directly?
@XayOn I found this project yesterday and hit the same issue. As a workaround, I have had success meanwhile building locally from one commit back 41b25f601d38aff26f554b47c2b79daf6ef293f8 and then docker build . -t conan/pivpn:armv7hf
. Head didn't build.
@conana, can you please state more clearly how your workaround actually works?
41b25f6
on docker machinedocker build . -t conan/pivpn:armv7hf
Are these the steps to take?
I receive the following output on my raspberry pi 2:
docker build . -t conan/pivpn:armv7hf
Sending build context to Docker daemon 8.077MB
Step 1/21 : FROM phusion/baseimage:master
master: Pulling from phusion/baseimage
no matching manifest for linux/arm/v7 in the manifest list entries
Steps were:
This builds successfully on osx with docker desktop, giving the image:
➜ pivpn-docker git:(41b25f6) docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
conan/pivpn armv7hf 8df74154a419 3 minutes ago 398MB
The secret sauce may have been running docker run --rm --privileged multiarch/qemu-user-static:register --reset
some time earlier but I'm not sure whether that's required when building on a pi itself.
@conana, thank you for going into details. However, this does not work for me.
I have made multi arch image -> https://github.com/2mf/pivpn-docker --> https://hub.docker.com/r/dm2mf/pivpn
docker pull xptsp/pivpn Using default tag: latest Error response from daemon: pull access denied for xptsp/pivpn, repository does not exist or may require 'docker login': denied: requested access to the resource is denied