diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index bdd44fca4..9e9214ad4 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -5,7 +5,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] # classpath settings ENV CLASSPATH=:/usr/lib/opensourcecobol4j/libcobj.jar -# hadolint ignore=DL3041 +# hadolint ignore=DL3041,DL3003 RUN dnf update -y \ && dnf install -y --setopt=install_weak_deps=False \ epel-release \ @@ -14,7 +14,6 @@ RUN dnf update -y \ make \ bison \ flex \ - automake \ autoconf \ diffutils \ gettext \ @@ -24,7 +23,16 @@ RUN dnf update -y \ libtool \ gettext-devel \ unzip \ + wget \ && dnf clean all \ - && rm -rf /var/cache/dnf + && rm -rf /var/cache/dnf \ + && wget -q https://ftp.gnu.org/gnu/automake/automake-1.16.5.tar.gz \ + && tar xzf automake-1.16.5.tar.gz \ + && cd automake-1.16.5 \ + && ./configure \ + && make -j"$(nproc)" \ + && make install \ + && cd .. \ + && rm -rf automake-1.16.5 automake-1.16.5.tar.gz RUN echo 'export CLASSPATH=:/usr/lib/opensourcecobol4j/libcobj.jar' >> ~/.bashrc diff --git a/.github/workflows/check-dev-container.yml b/.github/workflows/check-dev-container.yml index a89d12e91..44911bfa5 100644 --- a/.github/workflows/check-dev-container.yml +++ b/.github/workflows/check-dev-container.yml @@ -31,4 +31,5 @@ jobs: make make install cobj --version + automake --version push: never