Skip to content

Commit

Permalink
Merge pull request #337 from thingsboard/m-krasikov-patch-1
Browse files Browse the repository at this point in the history
Updated nameservers and env PATH
  • Loading branch information
m-krasikov authored Jul 2, 2020
2 parents 749bd8d + 1c9b6a5 commit 1db9ef9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 1db9ef9

Please sign in to comment.