Skip to content

Commit

Permalink
autoconf: Fix autoconf
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 committed Sep 27, 2024
1 parent 04453a0 commit 064bd3e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion autoconf/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/library/alpine:3.19
FROM docker.io/library/alpine:3.20

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

RUN apk upgrade && \
apk add \
curl \
alpine-sdk \
autoconf \
automake \
pkgconfig \
xz

RUN set -o pipefail \
&& curl https://ftp.gnu.org/gnu/autoconf/autoconf-${AUTOCONF_VERSION}.tar.gz | tar -zxf - \
&& cd autoconf-${AUTOCONF_VERSION} \
Expand All @@ -36,6 +38,11 @@ RUN set -o pipefail \
&& make \
&& make install

# https://stackoverflow.com/questions/8811381/possibly-undefined-macro-ac-msg-error/49103418#49103418
RUN set -o pipefail \
&& cp /usr/local/share/aclocal/*.m4 /usr/share/aclocal \
&& cp /usr/share/aclocal/*.m4 /usr/local/share/aclocal

VOLUME /src
WORKDIR /src

Expand Down

0 comments on commit 064bd3e

Please sign in to comment.