chore: add libraries and choose for C on arm7

This commit is contained in:
Daan Selen
2025-11-26 19:08:25 +01:00
parent 1791705567
commit 830edc7069
2 changed files with 5 additions and 2 deletions

View File

@@ -74,7 +74,8 @@ jobs:
# labels: ${{ steps.meta.outputs.labels }}
# platforms: linux/amd64,linux/arm64
- name: replace psycopg binary to c version
- name: replace psycopg binary to c version for arm/v7
run: |
sed -i "s|psycopg\[binary\]==3.2.13|psycopg\[c\]==3.2.13|" ./src/requirements.txt

View File

@@ -61,7 +61,9 @@ RUN apk add --no-cache \
build-base \
pkgconfig \
python3-dev \
postgresql-dev \
libffi-dev \
libpq \
linux-headers \
rust \
cargo \
@@ -133,7 +135,7 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
# Copy in the runtime script, essential.
COPY ./docker/entrypoint.sh /entrypoint.sh
#
# Expose ports on the container
EXPOSE 10086
WORKDIR $WGDASH/src