From 3bba7ea14e88b2bac569d09bdcc4d54bed4b589a Mon Sep 17 00:00:00 2001 From: Misael Date: Thu, 4 Mar 2021 10:51:56 -0300 Subject: [PATCH] ntp --- Dockerfile | 8 +++++++- tengine/tengine-master/modules/ngx_aws_auth | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) create mode 160000 tengine/tengine-master/modules/ngx_aws_auth diff --git a/Dockerfile b/Dockerfile index 9db29d3..cab2734 100755 --- a/Dockerfile +++ b/Dockerfile @@ -69,6 +69,7 @@ ENV CONFIG "\ --add-module=modules/ngx_http_slice_module \ --add-module=modules/ngx_http_upstream_session_sticky_module \ --add-module=modules/ngx_devel_kit-master \ + --add-module=modules/ngx_aws_auth \ --add-module=modules/set-misc-nginx-module-master \ --add-module=modules/ngx_http_geoip2_module-master \ --add-module=modules/headers-more-nginx-module-master \ @@ -201,8 +202,13 @@ RUN echo yes | pecl install datadog_trace RUN echo "America/Sao_Paulo" > /etc/timezone RUN dpkg-reconfigure -f noninteractive tzdata +RUN apt-get install ntp -y --fix-missing +RUN echo 'server 0.centos.pool.ntp.org' >> /etc/ntp.conf +RUN echo 'server 1.centos.pool.ntp.org' >> /etc/ntp.conf +RUN echo 'server 2.centos.pool.ntp.org' >> /etc/ntp.conf +RUN service ntp restart -RUN apt-get install cron --fix-missing +RUN apt-get install cron -y --fix-missing RUN curl -s https://getcomposer.org/installer | php RUN mv composer.phar /usr/local/bin/composer diff --git a/tengine/tengine-master/modules/ngx_aws_auth b/tengine/tengine-master/modules/ngx_aws_auth new file mode 160000 index 0000000..21931b2 --- /dev/null +++ b/tengine/tengine-master/modules/ngx_aws_auth @@ -0,0 +1 @@ +Subproject commit 21931b2274dc6b1bb4b4a275cac5861b9e5f0fb4