-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcentos-9-amd64.Dockerfile
27 lines (22 loc) · 1.14 KB
/
centos-9-amd64.Dockerfile
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
27
FROM quay.io/centos/centos:stream9
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
ENV LC_LANG=C.UTF-8
ENV ARCH=x64
ENV CPU=x86_64
ENV OS=linux
# For libiconv
ENV LD_LIBRARY_PATH=/usr/local/lib
ARG CC=gcc
ARG CXX=g++
COPY tools /opt/tools
RUN dnf -y update && dnf -y install sudo wget git epel-release 'dnf-command(config-manager)' && \
dnf config-manager --set-enabled crb && \
dnf -y install json-c-devel clang gcc gcc-c++ make autoconf libtool gzip bzip2 bzip2-devel \
gettext-devel ncurses-devel zlib-devel python3 asciidoctor botan2 botan2-devel \
openssl-devel bison byacc cmake gpg perl-Digest-SHA
RUN /opt/tools/tools.sh ensure_symlink_to_target '/usr/bin/python3' '/usr/bin/python' && \
/opt/tools/tools.sh build_and_install_automake && \
/opt/tools/tools.sh build_and_install_libiconv && \
/opt/tools/tools.sh build_and_install_gpg lts && \
/opt/tools/tools.sh build_and_install_gpg stable