55 Commits
Author SHA1 Message Date
wbg1991 186a5272a1 feat: add offline build and image export for air-gapped environments
- Added Dockerfile.offline to bundle all dependencies during build.
- Updated .dockerignore to include requirements-full.txt in build context.
- Introduced --offline flag for pre-installed dependency builds.
- Introduced --save flag to export images as tar.gz for restricted networks.
2026-03-24 23:25:41 +09:00
samson0v 70d60db7f6 Updated submodule and tb mqtt client version 2026-02-25 09:44:29 +02:00
samson0v ea11e4ac69 Added default host in Dockerfile 2026-02-17 11:20:23 +02:00
Christophe PAVOT 7e0ae61b89 Force setuptools version < 82.0.0
pkg_resources package has been removed from setuptools
82.0.0 and is a dependency of (at least)
thingsboard-python-client-sdk package.

Signed-off-by: Christophe PAVOT <christophe.pavot@wiifor.com>
2026-02-11 14:57:43 +01:00
im e69f652015 Improved build of docker images in multiarch and for local usage 2025-06-24 10:03:17 +03:00
imbeacon 88f156701a Updated Dockerfile 2025-05-08 07:43:06 +03:00
imbeacon d8b0de3876 Returned base image to 3.11 to avoid issues with Bacnet connector and asyncore installation 2024-10-03 07:23:16 +03:00
imbeacon 3b5cfeed37 Moved cleanup to avoid issues with package installation on 386 arch 2024-09-12 12:25:20 +03:00
Sergey Matvienko fe972e4c06 docker python12 and cleanup 2024-08-15 09:19:17 +02:00
imbeacon ce6471de76 Moved cryptography installation for docker 2024-08-05 15:49:25 +03:00
imbeacon 191b4ce1bc Optimized docker image size 2024-08-05 15:46:09 +03:00
imbeacon 73971afcab Fix for bash exec format 2024-06-19 11:54:01 +03:00
imbeacon 4098306354 Updated main Dockerfile 2024-05-14 11:48:07 +03:00
imbeacon 98d9300dad Updated Dockerfile 2024-05-14 09:40:47 +03:00
samson0v c6e5d5026e Changed tb host in docker compose file 2024-04-22 12:09:55 +03:00
samson0v 0fc675bea6 Fixed creating logs handler files 2024-04-22 12:08:38 +03:00
imbeacon f19c58ffa0 Updated docker-compose yml 2024-03-22 08:37:29 +02:00
imbeacon eb19a8f538 Ignored tests for build machine until correct setup for odbc driver in docker will be found 2024-02-26 15:00:18 +02:00
imbeacon 413305551c Try to avoid flaky tests run 2024-02-26 14:50:47 +02:00
imbeacon 16014569f2 Updated version for GRPC, required for docker builds 2023-09-19 11:00:56 +03:00
imbeacon e477b82b3c Updated for docker build 2023-07-07 08:48:41 +03:00
samson0v fa3c08c706 Deleted requirements.txt from docker folder 2022-12-01 09:06:17 +02:00
samson0v 86958f5ab6 Fixed Dockerfile 2022-10-31 11:43:22 +02:00
zbeacon 6ecd1bd241 Updated dockerfile to support cryptography library 2022-10-28 11:54:36 +03:00
imbeacon 5c58108198 Added creation for default configs 2022-10-27 14:29:34 +03:00
samson0v b2e3dc705e Updated Dockerfile 2022-09-07 15:12:59 +03:00
Pratik raj 943bef96db use --no-cache-dir flag to pip in dockerfiles to save space
created a "requirements.txt" file mentioning required dependencies and
further installing dependencies using pip way with "--no-cache-dir" flag.

further, using "--no-cache-dir" flag in pip install ,make sure downloaded packages
by pip don't cached on system . This is a best practice which make sure
to fetch from repo instead of using local cached one . Further , in case
of Docker Containers , by restricting caching , we can reduce image size.
In term of stats , it depends upon the number of python packages
multiplied by their respective size . e.g for heavy packages with a lot
of dependencies it reduce a lot by don't caching pip packages.

Further , more detail information can be found at

https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6

Signed-off-by: Pratik raj <rajpratik71@gmail.com>
2022-03-26 12:30:51 +05:30
Stuart Clarke a4da984e60 Fix Docker on ARM v7 2022-02-09 17:41:00 +10:00
zbeacon 46b06e7d55 Updated for grpc 2022-01-10 13:28:30 +02:00
zbeacon 47794e31e7 Returned installation as a module 2022-01-10 10:07:36 +02:00
zbeacon 3f18273a65 Changed basic version for docker image 2022-01-04 15:39:17 +02:00
zbeacon 9202c8f4e4 removed module installation in order to avoid the issue with import of the custom converters/connectors 2021-11-11 09:33:42 +02:00
zbeacon 3fec991dd2 Refactoring 2020-11-25 10:22:49 +02:00
zbeacon c89085dce8 Updated Dockerfile 2020-11-24 11:52:24 +02:00
zbeacon c5bc6e8468 Improvement 2020-10-22 14:55:15 +03:00
zbeacon 91908ea4fb Added example of docker-compose file 2020-09-14 13:35:23 +03:00
Mike 322b653e76 Update Dockerfile 2020-07-03 16:23:48 +03:00
Mike 5df89027e5 Update Dockerfile 2020-07-03 15:47:43 +03:00
Mike 1c9b6a5509 Updated nameservers and env PATH 2020-07-02 15:35:02 +03:00
Mike d2f326a685 Changed base Ubuntu to 20.04 2020-05-06 16:23:21 +03:00
m-krasikov c72a84a050 Changed Docker file to download latest release of gw 2020-01-10 18:36:34 +02:00
Andrew Shvayka 4c414def86 Code cleanup 2019-12-26 15:52:03 +02:00
m-krasikov e13c21c462 Fixed logs path for docker 2019-12-20 12:42:11 +02:00
m-krasikov 8f3fab47c4 Improvements to the docker build process 2019-12-19 19:19:24 +02:00
zbeacon e8e723067b Refactored installation 2019-12-19 10:38:23 +02:00
zbeacon aa7486303c Configs for docker. 2019-12-18 15:27:50 +02:00
m-krasikov 33bc9c3fee Building docker image from deb 2019-12-18 12:25:19 +02:00
zbeacon 6683ba67a4 Some improvements for performance and installation 2019-12-17 16:29:22 +02:00
zbeacon c7252b4c1c Improvements for installation and logs. 2019-12-03 16:40:28 +02:00
zbeacon 8f7a603035 Changed installation. 2019-11-27 15:38:57 +02:00