From b200e7a1668d340a8ffcc30f01307d565a976584 Mon Sep 17 00:00:00 2001 From: Donghee Na Date: Wed, 2 Oct 2024 19:06:51 +0900 Subject: [PATCH] fix --- autoconf/Dockerfile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/autoconf/Dockerfile b/autoconf/Dockerfile index 4ec7165..1108f4c 100644 --- a/autoconf/Dockerfile +++ b/autoconf/Dockerfile @@ -19,28 +19,25 @@ RUN apt-get update && \ curl \ pkg-config -RUN set -o pipefail \ - && curl https://ftp.gnu.org/gnu/autoconf/autoconf-${AUTOCONF_VERSION}.tar.gz | tar -zxf - \ +SHELL ["/bin/bash", "-o", "pipefail", "-c"] +RUN curl https://ftp.gnu.org/gnu/autoconf/autoconf-${AUTOCONF_VERSION}.tar.gz | tar -zxf - \ && cd autoconf-${AUTOCONF_VERSION} \ && ./configure --prefix=/usr/local \ && make \ && make install -RUN set -o pipefail \ - && curl https://ftp.gnu.org/gnu/automake/automake-${AUTOMAKE_VERSION}.tar.gz | tar -xzf - \ +RUN curl https://ftp.gnu.org/gnu/automake/automake-${AUTOMAKE_VERSION}.tar.gz | tar -xzf - \ && cd automake-${AUTOMAKE_VERSION} \ && ./configure --prefix=/usr/local \ && make \ && make install -RUN set -o pipefail \ - && curl https://ftp.gnu.org/gnu/autoconf-archive/autoconf-archive-${AUTOCONF_ARCHIVE_VERSION}.tar.xz | xz -cd - | tar -xf - \ +RUN curl https://ftp.gnu.org/gnu/autoconf-archive/autoconf-archive-${AUTOCONF_ARCHIVE_VERSION}.tar.xz | xz -cd - | tar -xf - \ && cd autoconf-archive-${AUTOCONF_ARCHIVE_VERSION} \ && ./configure --prefix=/usr/local \ && 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 \ +RUN cp /usr/local/share/aclocal/*.m4 /usr/share/aclocal \ && cp /usr/share/aclocal/*.m4 /usr/local/share/aclocal VOLUME /src