A container that approximates the edge used on Pantheon.
# docker build -t kalabox/pantheon-edge:mytag .
FROM nginx:1.8.1
RUN \
apt-get -y update && \
apt-get -y install apt-transport-https curl && \
curl --silent https://repo.varnish-cache.org/ubuntu/GPG-key.txt | apt-key add - && \
echo "deb https://repo.varnish-cache.org/debian/ jessie varnish-4.0" >> /etc/apt/sources.list.d/varnish-cache.list &&\
apt-get -y update && \
apt-get -y install varnish && \
apt-get -y clean && \
apt-get -y autoclean && \
apt-get -y autoremove && \
rm -rf /var/lib/apt/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*
COPY start.sh /root/start.sh
CMD ["/root/start.sh"]
EXPOSE 80
EXPOSE 443
Content type
Image
Digest
Size
101.3 MB
Last updated
over 9 years ago
docker pull kalabox/pantheon-edge