Skip to content

Instantly share code, notes, and snippets.

@ipmb ipmb/Dockerfile
Created Jun 6, 2018

What would you like to do?
vmods on trusty
FROM ubuntu:14.04
RUN apt-get update && \
apt-get -yq install curl gnupg apt-transport-https build-essential pkg-config \
libpcre3-dev automake autogen libtool libreadline6-dev \
libeditline0 libeditline-dev python-docutils
RUN curl -sL$VARNISHVERSION/gpgkey | apt-key add - && \
printf "deb$VARNISHVERSION/ubuntu/ trusty main\ndeb-src$VARNISHVERSION/ubuntu/ trusty main" > /etc/apt/sources.list.d/varnish.list && \
apt-get update && \
apt-get install -y varnish-dev
RUN set -ex && curl -sLO$MODSVERSION.tar.gz && \
tar xvzf $MODSVERSION.tar.gz && cd varnish-modules-$MODSVERSION && \
./bootstrap && ./configure && make && make install
CMD ls -lh /usr/lib/varnish/vmods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.