From 1c9b6a55092061138040246297d57e02e8a39fa6 Mon Sep 17 00:00:00 2001 From: Mike <33429644+m-krasikov@users.noreply.github.com> Date: Thu, 2 Jul 2020 15:35:02 +0300 Subject: [PATCH] Updated nameservers and env PATH --- docker/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 6071a5d19..39d270b8a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -19,6 +19,7 @@ if [ ! -f ${firstlaunch} ]; then\n\ touch ${firstlaunch}\n\ echo "#Remove this file only if you want to recreate default config files! This will overwrite exesting files" > ${firstlaunch}\n\ fi\n\ +echo "nameserver 8.8.8.8" >> /etc/resolv.conf\n\ \n\ /usr/bin/python3 -c "from thingsboard_gateway.tb_gateway import daemon; daemon()"\n'\ >> start-gateway.sh @@ -30,6 +31,7 @@ RUN mkdir -p /default-config/config /default-config/extensions/ RUN cp -r /etc/thingsboard-gateway/config/* /default-config/config/ RUN cp -r /var/lib/thingsboard_gateway/extensions/* /default-config/extensions/ +ENV PATH="/root/.local/bin:$PATH" ENV configs /etc/thingsboard-gateway/config ENV extensions /var/lib/thingsboard_gateway/extensions ENV logs /var/log/thingsboard-gateway