Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (16 sloc) 438 Bytes
FROM ubuntu:16.10
MAINTAINER Anselmo Pfeifer: 0.1
ENV DEBIAN_FRONTEND noninteractive
ENV PACOTES="varnish"
ENV VARNISH_PORT 6081
RUN apt-get update
RUN apt-get -y install $PACOTES
RUN apt-get autoremove
RUN apt-get autoclean
RUN rm -rf /var/lib/apt/lists/*
COPY varnish /etc/default/varnish
COPY default.vcl /etc/varnish/default.vcl
EXPOSE 6081
VOLUMES ["/var/lib/varnish", "/etc/varnish"]
ADD start.sh /start.sh
CMD ["/start.sh"]
You can’t perform that action at this time.