8000 autoconf: Fix autoconf · python/cpython-devcontainers@064bd3e · GitHub
[go: up one dir, main page]

Skip to content

Commit 064bd3e

Browse files
committed
autoconf: Fix autoconf
1 parent 04453a0 commit 064bd3e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

autoconf/Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/library/alpine:3.19
1+
FROM docker.io/library/alpine:3.20
22

33
ARG AUTOCONF_VERSION="2.71"
44
ARG AUTOCONF_ARCHIVE_VERSION="2023.02.20"
@@ -12,11 +12,13 @@ LABEL org.opencontainers.image.description="Container image with GNU Autoconf ${
1212

1313
RUN apk upgrade && \
1414
apk add \
15+
curl \
1516
alpine-sdk \
1617
autoconf \
1718
automake \
1819
pkgconfig \
1920
xz
21+
2022
RUN set -o pipefail \
2123
&& curl https://ftp.gnu.org/gnu/autoconf/autoconf-${AUTOCONF_VERSION}.tar.gz | tar -zxf - \
2224
&& cd autoconf-${AUTOCONF_VERSION} \
@@ -36,6 +38,11 @@ RUN set -o pipefail \
3638
&& make \
3739
&& make install
3840

41+
# https://stackoverflow.com/questions/8811381/possibly-undefined-macro-ac-msg-error/49103418#49103418
42+
RUN set -o pipefail \
43+
&& cp /usr/local/share/aclocal/*.m4 /usr/share/aclocal \
44+
&& cp /usr/share/aclocal/*.m4 /usr/local/share/aclocal
45+
3946
VOLUME /src
4047
WORKDIR /src
4148

0 commit comments

Comments
 (0)
0