joinmarket-clientserver
joinmarket-clientserver copied to clipboard
Dockerfile fails to build image
Building a Docker image for JM clientserver no longer works. The process errors out when trying to build Libffi. I've attached the relevant log output:
[+] Building 179.4s (9/9) FINISHED docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 502B 0.0s
=> [internal] load metadata for docker.io/library/debian:bullseye-slim 4.2s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 126B 0.0s
=> [1/5] FROM docker.io/library/debian:bullseye-slim@sha256:6344a6747740 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 32.85kB 0.0s
=> CACHED [2/5] RUN mkdir -p /jm/clientserver 0.0s
=> CACHED [3/5] WORKDIR /jm/clientserver 0.0s
=> [4/5] COPY . . 0.1s
=> ERROR [5/5] RUN apt-get update && apt-get install -y --no-install-r 175.2s
------
175.3 v3.4.6.tar.gz: OK
175.3 /jm/clientserver/deps /jm/clientserver
175.3 /jm/clientserver/deps/libffi-3.4.6 /jm/clientserver/deps /jm/clientserver
175.3 patching file configure.ac
175.4 autoreconf: Entering directory `.'
175.4 autoreconf: configure.ac: not using Gettext
176.4 autoreconf: running: aclocal -I m4
176.6 configure.ac:3: error: Autoconf version 2.71 or higher is required
176.6 configure.ac:3: the top level
176.6 autom4te: /usr/bin/m4 failed with exit status: 63
176.6 aclocal: error: /usr/bin/autom4te failed with exit status: 63
176.6 autoreconf: aclocal failed with exit status: 63
176.6 ./install.sh: line 247: ./configure: No such file or directory
176.6 make: *** No rule to make target 'uninstall'. Stop.
176.6 make: *** No targets specified and no makefile found. Stop.
176.6 make: *** No rule to make target 'check'. Stop.
176.6 Libffi was not built. Exiting.
------
Dockerfile:8
--------------------
7 |
8 | >>> RUN apt-get update && apt-get install -y --no-install-recommends gnupg ca-certificates=* curl=* \
9 | >>> python3-pip=* python3=* \
10 | >>> && pip3 install 'wheel>=0.35.1' \
11 | >>> && ./install.sh --docker-install \
12 | >>> && apt-get purge -y --autoremove python3-pip \
13 | >>> && apt-get clean \
14 | >>> && rm -rf /var/lib/apt/lists/*
15 |
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y --no-install-recommends gnupg ca-certificates=* curl=* python3-pip=* python3=* && pip3 install 'wheel>=0.35.1' && ./install.sh --docker-install && apt-get purge -y --autoremove python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 1
Is anyone else experiencing this issue? I have Autoconf 2.72 installed.
Fixed in https://github.com/JoinMarket-Org/joinmarket-clientserver/pull/1771. Can be closed @kristapsk