mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-11-29 08:26:21 +00:00
chore: add libraries and choose for C on arm7
This commit is contained in:
3
.github/workflows/docker.yml
vendored
3
.github/workflows/docker.yml
vendored
@@ -74,7 +74,8 @@ jobs:
|
|||||||
# labels: ${{ steps.meta.outputs.labels }}
|
# labels: ${{ steps.meta.outputs.labels }}
|
||||||
# platforms: linux/amd64,linux/arm64
|
# platforms: linux/amd64,linux/arm64
|
||||||
|
|
||||||
- name: replace psycopg binary to c version
|
|
||||||
|
- name: replace psycopg binary to c version for arm/v7
|
||||||
run: |
|
run: |
|
||||||
sed -i "s|psycopg\[binary\]==3.2.13|psycopg\[c\]==3.2.13|" ./src/requirements.txt
|
sed -i "s|psycopg\[binary\]==3.2.13|psycopg\[c\]==3.2.13|" ./src/requirements.txt
|
||||||
|
|
||||||
|
|||||||
@@ -61,7 +61,9 @@ RUN apk add --no-cache \
|
|||||||
build-base \
|
build-base \
|
||||||
pkgconfig \
|
pkgconfig \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
|
postgresql-dev \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
|
libpq \
|
||||||
linux-headers \
|
linux-headers \
|
||||||
rust \
|
rust \
|
||||||
cargo \
|
cargo \
|
||||||
@@ -133,7 +135,7 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
|||||||
# Copy in the runtime script, essential.
|
# Copy in the runtime script, essential.
|
||||||
COPY ./docker/entrypoint.sh /entrypoint.sh
|
COPY ./docker/entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
#
|
# Expose ports on the container
|
||||||
EXPOSE 10086
|
EXPOSE 10086
|
||||||
WORKDIR $WGDASH/src
|
WORKDIR $WGDASH/src
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user