wodby / varnish

Varnish docker container image
https://wodby.com/stacks/varnish
MIT License
59 stars 29 forks source link

Varnish is not compiling - container exit code 2 #32

Closed pasim closed 3 years ago

pasim commented 3 years ago

I am facing some real issues while ruining wodby/varnish:4-4.6.4 container - Varnish does not compile. Here is the error from logs: wodby/varnish:4-4.6.4 Error: Running VCC-compiler failed, signal 5 VCL compilation failed The environment for me: docker run -it --rm -e VARNISH_BACKEND_HOST=localhost -e VARNISH_BACKEND_PORT=8080 -e VARNISH_CONFIG_PRESET=drupal wodby/varnish:4-4.6.4

csandanov commented 3 years ago

Our current tests pass without any issues on arm64 (run make test). How can I reproduce it?

pasim commented 3 years ago

@csandanov see my command from above: docker run -it --rm -e VARNISH_BACKEND_HOST=localhost -e VARNISH_BACKEND_PORT=8080 -e VARNISH_CONFIG_PRESET=drupal wodby/varnish:4-4.6.4

I am on Mac M1 host machine.

csandanov commented 3 years ago

You are connecting varnish to a localhost:8080 inside varnish container and there's nothing else except varnish running in its container. Please see how we run our tests.

Also, see #31, there's no arm64 support yet