- Install docker https://docs.docker.com/installation/
- Save the
Dockerfile
in a directory - Run
docker build -t hhvm .
from that directory - Run
docker run -ti hhvm bash
to get a shell in a container with hhvm and hack.
Created
June 17, 2014 19:33
-
-
Save asm89/c1f232063cc8a0a651bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get -y install wget | |
RUN wget -O - http://dl.hhvm.com/conf/hhvm.gpg.key | apt-key add - | |
RUN echo deb http://dl.hhvm.com/ubuntu trusty main | tee /etc/apt/sources.list.d/hhvm.list | |
RUN apt-get update | |
RUN apt-get -y install hhvm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment