@@ -30,11 +30,11 @@ RUN cd /tmp \
3030 && dpkg -i nginx${NGINX_VERSION} \
3131 && apt-get install --no-install-recommends --no-install-suggests -y nginx-module-njs gettext-base \
3232 && rm -rf /etc/nginx/conf.d/default.conf \
33- && mkdir -p /var/log/nginx \
33+ && mkdir -p /var/log/nginx /etc/nginx/ssl \
3434 && ln -sf /dev/stdout /var/log/nginx/access.log \
3535 && ln -sf /dev/stderr /var/log/nginx/error.log \
3636 && service nginx stop && update-rc.d -f nginx disable \
37- && pip3 install requests \
37+ && pip3 install requests boto3 \
3838 && apt-get clean -y && apt-get autoclean -y \
3939 && apt-get autoremove --purge -y \
4040 && rm -rf /var/lib/apt/lists/* /var/lib/log/* /tmp/* /var/tmp/*
@@ -44,12 +44,11 @@ ADD ./files/root/ /root/
4444ADD ./files/sbin/ /sbin/
4545
4646RUN bash /root/bin/dummycert.sh \
47- && bash /etc/nginx/geoip2-download.sh \
4847 && mkdir -p /app-start/etc \
4948 && mv /etc/nginx /app-start/etc/nginx \
5049 && rm -rf /etc/nginx \
5150 && cd /app-start/etc/nginx \
52- && ./ geoip2-download.sh \
51+ && bash geoip2-download.sh \
5352 && ln -s /app/etc/nginx /etc/nginx \
5453 && mkdir -p /app-start/var/log \
5554 && mv /var/log/nginx /app-start/var/log/nginx \
0 commit comments