File: Dockerfile

package info (click to toggle)
awscli 2.31.35-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 156,692 kB
  • sloc: python: 213,816; xml: 14,082; makefile: 189; sh: 178; javascript: 8
file content (26 lines) | stat: -rw-r--r-- 686 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM public.ecr.aws/amazonlinux/amazonlinux:2
ENV AUTOCONF_VERSION=2.71
ENV AUTOMAKE_VERSION=1.16.5

WORKDIR /build
COPY ./ /build
RUN yum -y update
RUN yum -y install curl xz gzip  m4 perl perl-Data-Dumper make tar help2man cpanminus
RUN cpanm Thread::Queue

WORKDIR /autoreconf
RUN curl https://ftp.gnu.org/gnu/autoconf/autoconf-${AUTOCONF_VERSION}.tar.gz | tar -xz
WORKDIR /autoreconf/autoconf-${AUTOCONF_VERSION}
RUN ./configure
RUN make
RUN make install

WORKDIR /automake
RUN curl https://ftp.gnu.org/gnu/automake/automake-${AUTOMAKE_VERSION}.tar.xz | tar -xJ
WORKDIR /automake/automake-${AUTOMAKE_VERSION}
RUN ./configure
RUN make
RUN make install

WORKDIR /build
RUN autoreconf