Skip to content

Commit ea155e1

Browse files
cursoragentlovasoa
andcommitted
Fix: Update ODBC driver and ensure /lib64 exists
Co-authored-by: contact <[email protected]>
1 parent c58e6c7 commit ea155e1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
db_url: "mssql://root:[email protected]/sqlpage"
5959
- database: odbc
6060
container: postgres
61-
db_url: "Driver={PostgreSQL};Server=127.0.0.1;Port=5432;Database=sqlpage;UID=root;PWD=Password123!"
61+
db_url: "Driver={PostgreSQL Unicode};Server=127.0.0.1;Port=5432;Database=sqlpage;UID=root;PWD=Password123!"
6262
setup_odbc: true
6363
steps:
6464
- uses: actions/checkout@v4

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ RUN addgroup --gid 1000 --system sqlpage && \
5757
ENV SQLPAGE_WEB_ROOT=/var/www
5858
ENV SQLPAGE_CONFIGURATION_DIRECTORY=/etc/sqlpage
5959
WORKDIR /var/www
60+
# Ensure /lib64 is a real directory (not a symlink) so that copying dependencies succeeds during COPY below
61+
RUN if [ -L /lib64 ]; then rm /lib64 && mkdir /lib64; fi
6062
COPY --from=builder /usr/src/sqlpage/sqlpage.bin /usr/local/bin/sqlpage
6163
COPY --from=builder /usr/src/sqlpage/libgcc_s.so.1 /lib/libgcc_s.so.1
6264
COPY --from=builder /usr/src/sqlpage/deps/ /

0 commit comments

Comments
 (0)