Open Liquid2Sky opened 3 years ago
To make it work for M1 , we have to build it for M1 too (FROM arm64v8/debian:stretch-slim)
The problem is that the build via Dockerfile does not work straightforward then. I tried to re-add some elements in the Dockerfile but the installation of varnish-modules failed with an error on something that should not generate an error.
Would really like to help, as Varnish is the first machine that we need to update, others has to be updated for arm64 :
The error I got :
#8 40.84 make[1]: Entering directory '/tmp/varnish-modules-0.15.0'
#8 40.84 Making all in src
#8 40.84 make[2]: Entering directory '/tmp/varnish-modules-0.15.0/src'
#8 40.84 VMODTOOL vcc_bodyaccess_if.c
#8 40.85 File "/usr/share/varnish/vmodtool.py", line 195
#8 40.85 print("ERROR: " + txt, file=sys.stderr)
#8 40.85 ^
#8 40.85 SyntaxError: invalid syntax
#8 40.85 make[2]: *** [vcc_bodyaccess_if.c] Error 1
#8 40.85 Makefile:1356: recipe for target 'vcc_bodyaccess_if.c' failed
#8 40.85 make[2]: Leaving directory '/tmp/varnish-modules-0.15.0/src'
#8 40.85 make[1]: *** [all-recursive] Error 1
#8 40.85 Makefile:537: recipe for target 'all-recursive' failed
#8 40.85 make[1]: Leaving directory '/tmp/varnish-modules-0.15.0'
#8 40.85 Makefile:448: recipe for target 'all' failed
I try to get ezlaunchpad running on an Apple M1 and I am aware that Docker is not yet completely "M1 ready". However I think this issue is not related to the Docker compatibility.
Varnish instantly crashes
I think this might be related to Varnish not yet providing ARM packages