Browse Source
mastercf5184f244test(ci): build docker image in github workflow (theborakompanioni)9d8988a1fdbuild(docker): update to debian bookworm (theborakompanioni) Pull request description: Updates `Dockerfile` base image from `debian:bullseye-slim` to `debian:bookworm-slim`. Bullseye default version of [`autoconf`](https://github.com/JoinMarket-Org/joinmarket-clientserver/pull/1703) is incompatible with [`libffi` v3.4.6](cbd88681f9) (needed 2.71, installed v1.69): ``` 534.3 v3.4.6.tar.gz: OK 534.3 /jm/clientserver/deps/libffi-3.4.6 /jm/clientserver/deps /jm/clientserver [...] 536.0 configure.ac:3: error: Autoconf version 2.71 or higher is required 536.0 configure.ac:3: the top level 536.0 autom4te: /usr/bin/m4 failed with exit status: 63 536.0 aclocal: error: /usr/bin/autom4te failed with exit status: 63 536.0 autoreconf: aclocal failed with exit status: 63 536.0 ./install.sh: line 247: ./configure: No such file or directory 536.0 make: *** No rule to make target 'uninstall'. Stop. 536.0 make: *** No targets specified and no makefile found. Stop. 536.0 make: *** No rule to make target 'check'. Stop. 536.0 Libffi was not built. Exiting. ``` ## How to test Run `docker build -t joinmarket-clientserver-pr-1771 .` and check if image is built successfully. ACKs for top commit: kristapsk: cr utACKcf5184f244Tree-SHA512: 7fc17f4326d026cc8f925893e3dc4f867dfa0aaa763d64fe5a9205acdb8d14aa615fa611cffc84f6a362d0cc7456bfe2b165949706332b1fd4b805a95d4bf524
2 changed files with 36 additions and 1 deletions
@ -0,0 +1,33 @@ |
|||||||
|
name: Build Docker image |
||||||
|
|
||||||
|
on: |
||||||
|
pull_request: |
||||||
|
push: |
||||||
|
branches: |
||||||
|
- master |
||||||
|
|
||||||
|
env: |
||||||
|
DOCKER_IMAGE_NAME: joinmarket-clientserver |
||||||
|
DOCKER_IMAGE_TAG: test |
||||||
|
|
||||||
|
jobs: |
||||||
|
docker: |
||||||
|
runs-on: ubuntu-latest |
||||||
|
steps: |
||||||
|
- name: Checkout repository |
||||||
|
uses: actions/checkout@v4 |
||||||
|
|
||||||
|
- name: Set up QEMU |
||||||
|
uses: docker/setup-qemu-action@v3 |
||||||
|
|
||||||
|
- name: Set up Docker Buildx |
||||||
|
uses: docker/setup-buildx-action@v3 |
||||||
|
|
||||||
|
- name: Build |
||||||
|
uses: docker/build-push-action@v6 |
||||||
|
env: |
||||||
|
SOURCE_DATE_EPOCH: 0 |
||||||
|
with: |
||||||
|
load: true |
||||||
|
push: false |
||||||
|
tags: ${{ env.DOCKER_IMAGE_NAME }}:${{ env.DOCKER_IMAGE_TAG }} |
||||||
Loading…
Reference in new issue