Commit Graph

72 Commits

Author SHA1 Message Date
Ophir LOJKINE 7bb11c16e8 duckdb odbc docker (#1187)
* add a duckdb docker image

* Add DuckDB ODBC driver installation and configuration

Installs DuckDB ODBC driver and configures system-wide ODBC settings to
enable DuckDB database connectivity for SQLPage.

* add duckdb odbc info to readme

* Fix CI digest artifact matching

* Temporarily publish docker images on branch

* Allow docker publish on branch (fix)

* Temporarily run CI on branch pushes

* Disable branch publish; fix duckdb inspect tag

* Temporarily enable CI push on branch

* Fix minimal tag suffix in docker_push

* Disable temporary branch CI push
2026-01-17 01:23:29 +01:00
lovasoa 3ada9b496d update rust 2025-11-29 01:27:37 +01:00
Ophir LOJKINE a52b20cc35 remove docker build cruft (#1115)
* remove docker build cruft

- Simplified environment variable sourcing in build scripts by using a single build-env.sh file.
- Updated Dockerfile to streamline the build process and reduce unnecessary comments.
- Enhanced setup-cross-compilation.sh to directly set target and linker variables without temporary files.
- Improved clarity and maintainability of build scripts.

* fix setup-cross-compilation.sh

- Updated the script to use a more concise syntax for exporting environment variables.
- Improved readability by using echo and conditional checks for BINDGEN_EXTRA_CLANG_ARGS.
- This change simplifies the script while maintaining functionality.

* Refactor setup-cross-compilation.sh for improved readability

- Changed the syntax for checking BINDGEN_EXTRA_CLANG_ARGS to use a conditional statement for clarity.
- This enhances the script's maintainability while preserving its functionality.
2025-11-20 00:36:41 +01:00
lovasoa b278764b18 Dockerfile: extract scripts to separate files 2025-10-05 10:41:13 +02:00
lovasoa 656c73f86d Dockerfile: update library paths for aarch64 and arm architectures 2025-10-05 10:22:37 +02:00
lovasoa 05b7a55f48 Dockerfile: statically link odbc 2025-10-05 09:45:54 +02:00
Cursor Agent df242b4fae Refactor: Optimize dependencies and library paths in Dockerfile
Co-authored-by: contact <contact@ophir.dev>
2025-10-02 12:48:50 +00:00
Cursor Agent 35514347a6 Build: Add unixODBC build and cross-compilation support
Co-authored-by: contact <contact@ophir.dev>
2025-09-29 17:25:37 +00:00
Cursor Agent 9511964d92 Update rpath to include sqlpage directory for ODBC drivers
Co-authored-by: contact <contact@ophir.dev>
2025-09-29 15:34:56 +00:00
Cursor Agent 83efc1aae5 Checkpoint before follow-up message
Co-authored-by: contact <contact@ophir.dev>
2025-09-29 15:32:49 +00:00
lovasoa 0ae9072712 fix Dockerfile: enhance cross-compilation setup by adding clang and updating BINDGEN_EXTRA_CLANG_ARGS 2025-09-26 16:21:42 +02:00
lovasoa fbde06e83e fix Dockerfile: streamline library installation and update paths for cross-compilation 2025-09-26 16:21:42 +02:00
lovasoa 4ba0e07f14 fix Dockerfile: update library paths for arm architecture 2025-09-26 16:21:42 +02:00
lovasoa 38bc00e5d0 fix Dockerfile: include additional libraries 2025-09-26 16:21:42 +02:00
lovasoa 7fcd138360 Update Dockerfiles to use Rust 1.90 for improved performance and compatibility 2025-09-26 16:21:42 +02:00
lovasoa 7278c76349 Update Dockerfile to remove unnecessary package installations for improved efficiency 2025-09-26 16:21:42 +02:00
lovasoa 28ab4db1db undo stupid llm 2025-09-26 16:21:42 +02:00
Cursor Agent 70f3473f15 Fix: Update ODBC driver and ensure /lib64 exists
Co-authored-by: contact <contact@ophir.dev>
2025-09-26 16:21:42 +02:00
Ophir LOJKINE 0907679d1f Fix: Add arm64 and armhf architecture support for dependencies (#1025)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-09-26 16:21:42 +02:00
lovasoa 2f2bbef032 Enhance Dockerfile to include dependency copying for improved runtime environment 2025-09-26 16:21:42 +02:00
lovasoa bbb0210ec8 Enhance Dockerfile and CI workflows by adding ODBC dependencies for improved database support 2025-09-26 16:21:42 +02:00
lovasoa cedfe3dbde remove unused dep 2025-05-21 23:24:09 +02:00
lovasoa 884640b329 fix arm cross compilation 2025-05-21 23:18:56 +02:00
lovasoa b6188b40b0 fix arm cross compilation 2025-05-21 22:59:59 +02:00
lovasoa fb4a15c9a0 ensure cmake is installed 2025-05-21 22:40:47 +02:00
lovasoa 70b57b9d6e upgrade to rust 1.87 2025-05-21 22:39:23 +02:00
lovasoa 90d4b010fd update to rust 1.86 2025-04-21 09:29:47 +02:00
lovasoa 2f9a9ad4d3 udate to rust 1.83 2024-12-04 18:11:51 +01:00
lovasoa 9feeb13326 update rust to rust 1.82 2024-10-30 11:45:03 +01:00
lovasoa 25ce73de79 update to rust 1.81
CI / compile_and_lint (push) Has been cancelled
CI / test (mssql) (push) Has been cancelled
CI / test (mysql) (push) Has been cancelled
CI / test (postgres) (push) Has been cancelled
CI / windows_test (push) Has been cancelled
CI / docker_build (linux/amd64) (push) Has been cancelled
CI / docker_build (linux/arm/v7) (push) Has been cancelled
CI / docker_build (linux/arm64) (push) Has been cancelled
CI / docker_push (push) Has been cancelled
Create Release / Build sqlpage binaries (target/superoptimized/sqlpage, macos-latest) (push) Has been cancelled
Create Release / Build sqlpage binaries (target/superoptimized/sqlpage, ubuntu-20.04) (push) Has been cancelled
Create Release / Build sqlpage binaries (target/superoptimized/sqlpage.exe, windows-latest) (push) Has been cancelled
Create Release / Build AWS Lambda Serverless zip image (push) Has been cancelled
Create Release / Create Github Release (push) Has been cancelled
Create Release / Publish to crates.io (push) Has been cancelled
2024-09-25 21:29:12 +02:00
lovasoa 6c6a119256 update docker to rust 1.80 2024-08-06 21:49:08 +02:00
lovasoa b0b52f33e5 fix dockerfile format warning 2024-07-23 22:28:11 +02:00
lovasoa c1a1a302fd update rust version 2024-07-12 19:46:39 +02:00
lovasoa 1cb8f9455a simplify docker cross-compilation 2024-05-04 15:38:29 +02:00
lovasoa 63626e48f6 fix location of cargo config 2024-05-04 15:14:26 +02:00
lovasoa 5ba6b50782 fix dockerfile 2024-05-04 14:26:43 +02:00
lovasoa 7727ff4a1a update to rust 1.78 2024-05-02 18:45:39 +02:00
lovasoa 2abcb77627 initial oidc example 2024-04-26 01:11:51 +02:00
lovasoa 59f4d8a562 update rust version in docker images 2024-03-30 22:57:44 +01:00
Ophir LOJKINE e3fb2f8acc Introduce SQLPAGE_CONFIGURATION_DIRECTORY (#243)
* Introduce SQLPAGE_CONFIGURATION_DIRECTORY

Makes the configuration directory configurable instead of it being hardcoded to "./sqlpage/"

* logging
2024-02-25 19:23:17 +01:00
lovasoa 79a7c833b0 run as user 1000 by default in docker images
update rust version in docker images to 1.74
2023-11-21 00:42:56 +01:00
lovasoa 5889de7866 Update to rust 1.73 2023-10-10 15:16:18 +02:00
lovasoa 68e83d8e8c docker fix typo in env variable
fixes #98
2023-10-09 13:48:11 +02:00
lovasoa a499d9671c change default working directory to /etc 2023-10-03 13:07:41 +02:00
lovasoa 2f38e8482e Include a default rw sqlite db in the docker image
Fixes https://github.com/lovasoa/SQLpage/issues/94
2023-10-03 12:51:41 +02:00
lovasoa a1501d882d fix redundant docker layer 2023-10-03 03:58:20 +02:00
lovasoa 59412b9e3f fix armv7 build 2023-10-03 03:24:12 +02:00
lovasoa 9213fe0434 remove unused install 2023-10-03 03:20:02 +02:00
lovasoa 8d09c80530 fix native rust build on exotic targets 2023-10-03 03:17:36 +02:00
lovasoa 4a32aca0ef docker cross compilation 2023-10-03 02:56:24 +02:00