Skip to content

A dockerized Hack development environment. Useful for being able to develop Hack on Apple Silicon.

Notifications You must be signed in to change notification settings

justdan6/docker-hack-dev

Repository files navigation

What is this?

A way to get HHVM working on arm64.

How to use

This requires use of Colima and an up to date version of QEMU in order to work. Rosetta does not currently support some x86_64 instruction execution which HHVM uses.

brew install docker
brew install qemu
brew install colima
git clone https://github.com/justdan6/docker-hack-dev.git
cd docker-hack-dev

colima start --arch x86_64 --cpu 4 --cpu-type "max" --memory 16 --network-address
docker compose up

Go to http://localhost:8080/hello.hack

Any changes in /src will be picked up by HHVM.

About

A dockerized Hack development environment. Useful for being able to develop Hack on Apple Silicon.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages