8000 fix · python/cpython-devcontainers@b200e7a · GitHub
[go: up one dir, main page]

Skip to content

Commit b200e7a

Browse files
committed
fix
1 parent 7352cee commit b200e7a

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

autoconf/Dockerfile

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,28 +19,25 @@ RUN apt-get update && \
1919
curl \
2020
pkg-config
2121

22-
RUN set -o pipefail \
23-
&& curl https://ftp.gnu.org/gnu/autoconf/autoconf-${AUTOCONF_VERSION}.tar.gz | tar -zxf - \
22+
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
23+
RUN curl https://ftp.gnu.org/gnu/autoconf/autoconf-${AUTOCONF_VERSION}.tar.gz | tar -zxf - \
2424
&& cd autoconf-${AUTOCONF_VERSION} \
2525
&& ./configure --prefix=/usr/local \
2626
&& make \
2727
&& make install
28-
RUN set -o pipefail \
29-
&& curl https://ftp.gnu.org/gnu/automake/automake-${AUTOMAKE_VERSION}.tar.gz | tar -xzf - \
28+
RUN curl https://ftp.gnu.org/gnu/automake/automake-${AUTOMAKE_VERSION}.tar.gz | tar -xzf - \
3029
&& cd automake-${AUTOMAKE_VERSION} \
3130
&& ./configure --prefix=/usr/local \
3231
&& make \
3332
&& make install
34-
RUN set -o pipefail \
35-
&& curl https://ftp.gnu.org/gnu/autoconf-archive/autoconf-archive-${AUTOCONF_ARCHIVE_VERSION}.tar.xz | xz -cd - | tar -xf - \
33+
RUN curl https://ftp.gnu.org/gnu/autoconf-archive/autoconf-archive-${AUTOCONF_ARCHIVE_VERSION}.tar.xz | xz -cd - | tar -xf - \
3634
&& cd autoconf-archive-${AUTOCONF_ARCHIVE_VERSION} \
3735
&& ./configure --prefix=/usr/local \
3836
&& make \
3937
&& make install
4038

4139
# 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 \
40+
RUN cp /usr/local/share/aclocal/*.m4 /usr/share/aclocal \
4441
&& cp /usr/share/aclocal/*.m4 /usr/local/share/aclocal
4542

4643
VOLUME /src

0 commit comments

Comments
 (0)
0