Skip to content

Instantly share code, notes, and snippets.

@md5
Last active August 29, 2015 14:18
Show Gist options
  • Save md5/3b8cef5bc53ac0b54f69 to your computer and use it in GitHub Desktop.
Save md5/3b8cef5bc53ac0b54f69 to your computer and use it in GitHub Desktop.
Q&D hhvm Dockerfile
FROM debian:jessie
RUN apt-key adv --recv-keys --keyserver pool.sks-keyservers.net \
0x5a16e7281be7a449
RUN echo 'deb http://dl.hhvm.com/debian jessie main' > /etc/apt/sources.list.d/hhvm.list
ENV HHVM_VERSION 3.6.1
ENV HHVM_DEBIAN_VERSION 3.6.1~jessie
RUN set -x; \
apt-get update \
&& apt-get install -y --no-install-recommends \
hhvm="$HHVM_DEBIAN_VERSION" \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
CMD ["hhvm", "-m", "debug"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment