Skip to content

Commit

Permalink
ntp
Browse files Browse the repository at this point in the history
  • Loading branch information
redati committed Mar 4, 2021
1 parent 23087be commit 3bba7ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tengine/tengine-master/modules/ngx_aws_auth
Submodule ngx_aws_auth added at 21931b

0 comments on commit 3bba7ea

Please sign in to comment.