|
@@ -0,0 +1,16 @@
|
|
|
+FROM nginx:1.13
|
|
|
+
|
|
|
+ENV DEBIAN_FRONTEND noninteractive
|
|
|
+
|
|
|
+RUN echo Acquire::http::Proxy "http://aptcache.infra.flowdat.com/"; > /etc/apt/apt.conf.d/00aptproxy
|
|
|
+
|
|
|
+ADD nginx-config.sh /usr/bin/
|
|
|
+RUN chmod +x /usr/bin/nginx-config.sh
|
|
|
+COPY conf.d /etc/nginx/conf.d
|
|
|
+
|
|
|
+RUN rm /etc/nginx/conf.d/*.conf
|
|
|
+
|
|
|
+
|
|
|
+CMD ["/usr/bin/nginx-config.sh"]
|
|
|
+
|
|
|
+RUN rm /etc/apt/apt.conf.d/00aptproxy
|