Skip to content

Instantly share code, notes, and snippets.

@asm89
Created June 17, 2014 19:33
Show Gist options
  • Save asm89/c1f232063cc8a0a651bf to your computer and use it in GitHub Desktop.
Save asm89/c1f232063cc8a0a651bf to your computer and use it in GitHub Desktop.
  • 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.
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