Fix: Update ODBC driver and ensure /lib64 exists

Co-authored-by: contact <contact@ophir.dev>
This commit is contained in:
Cursor Agent
2025-09-25 20:50:51 +00:00
committed by Ophir LOJKINE
parent a76965cd39
commit 70f3473f15
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ jobs:
db_url: "mssql://root:Password123!@127.0.0.1/sqlpage"
- database: odbc
container: postgres
db_url: "Driver={PostgreSQL};Server=127.0.0.1;Port=5432;Database=sqlpage;UID=root;PWD=Password123!"
db_url: "Driver={PostgreSQL Unicode};Server=127.0.0.1;Port=5432;Database=sqlpage;UID=root;PWD=Password123!"
setup_odbc: true
steps:
- uses: actions/checkout@v4
+2
View File
@@ -57,6 +57,8 @@ RUN addgroup --gid 1000 --system sqlpage && \
ENV SQLPAGE_WEB_ROOT=/var/www
ENV SQLPAGE_CONFIGURATION_DIRECTORY=/etc/sqlpage
WORKDIR /var/www
# Ensure /lib64 is a real directory (not a symlink) so that copying dependencies succeeds during COPY below
RUN if [ -L /lib64 ]; then rm /lib64 && mkdir /lib64; fi
COPY --from=builder /usr/src/sqlpage/sqlpage.bin /usr/local/bin/sqlpage
COPY --from=builder /usr/src/sqlpage/libgcc_s.so.1 /lib/libgcc_s.so.1
COPY --from=builder /usr/src/sqlpage/deps/ /