From 4c3ebe0245cfb9d635b2af8e5c6123d7608f552f Mon Sep 17 00:00:00 2001 From: Brian Faust Date: Wed, 17 Jul 2019 05:35:23 +0300 Subject: [PATCH] build(docker): add ntp and google servers for ntpd --- docker/production/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/production/Dockerfile b/docker/production/Dockerfile index a87a436851..7506f7bc26 100644 --- a/docker/production/Dockerfile +++ b/docker/production/Dockerfile @@ -8,6 +8,8 @@ ARG core_channel=latest RUN apk add --no-cache --virtual .build-deps make gcc g++ python git \ && apk add --no-cache bash sudo git openntpd openssl \ + && echo "servers pool.ntp.org" > /etc/ntpd.conf \ + && echo "servers time.google.com" >> /etc/ntpd.conf \ && npm i pm2 -g --loglevel notice \ && su node -c "yarn global add @arkecosystem/core@${core_channel}" \ && su node -c "yarn cache clean" \