Skip to content

Commit 24f9bbb

Browse files
committed
feat: add LIBXML2_STATIC environment variable to Docker build for static linking
1 parent 1b4ea72 commit 24f9bbb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,12 @@ jobs:
109109
- name: Docker Login
110110
run: echo ${{ secrets.DOCKER_HUB_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
111111
- name: Build ${{ matrix.package }} package in Docker
112+
# LIBXML2_STATIC is needed to avoid the dynamic linking issue on different distros
112113
run: |
113114
docker run --pull=always --rm \
114115
-v $(pwd)/build-${{ matrix.package }}:/workspace \
115116
-e COREPACK_INTEGRITY_KEYS=0 \
117+
-e LIBXML2_STATIC=1 \
116118
-e INCLUDE_GUI=1 \
117119
yuezk/gpdev:${{ matrix.package }}-builder-tauri2
118120

0 commit comments

Comments
 (0)