Skip to content

Commit

Permalink
feat: v15 precheck supporting
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdrivingduck committed Sep 4, 2024
1 parent 57fd2ee commit 9680a6f
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 7 deletions.
14 changes: 12 additions & 2 deletions Dockerfile-devel-anolis8
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ CMD bash

ENV PATH="/home/postgres/tmp_polardb_pg_17_base/bin:/home/postgres/tmp_polardb_pg_16_base/bin:/home/postgres/tmp_polardb_pg_15_base/bin:/home/postgres/tmp_basedir_polardb_pg_1100_bld/bin:$PATH"

# change to CentOS 8 Stream source, and install EPEL
# install EPEL
RUN dnf upgrade -y --refresh && \
dnf install -y \
epel-release epel-next-release && \
dnf install -y glibc-all-langpacks && \
dnf remove -y langpacks-en && \
dnf install -y \
glibc-langpack-en \
glibc-langpack-zh \
&& \
dnf clean all

# GCC and LLVM (should be 15)
Expand All @@ -36,6 +40,8 @@ RUN dnf install -y \
fuse-devel \
gettext \
krb5-devel \
krb5-server \
krb5-workstation \
libaio-devel \
libicu-devel \
libunwind-devel \
Expand All @@ -48,6 +54,7 @@ RUN dnf install -y \
openssl-devel \
pam-devel \
perl-CPAN \
perl-DBI \
perl-IPC-Run \
perl-ExtUtils-Embed \
perl-File-Find-Rule \
Expand Down Expand Up @@ -135,3 +142,6 @@ RUN echo "modify conf" && \

WORKDIR /home/$USER_NAME
USER $USER_NAME
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
12 changes: 11 additions & 1 deletion Dockerfile-devel-rocky8
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ RUN dnf distro-sync -y && \
dnf upgrade --refresh && \
dnf --enablerepo=powertools install -y \
epel-release && \
dnf install -y glibc-all-langpacks && \
dnf remove -y langpacks-en && \
dnf install -y \
glibc-langpack-en \
glibc-langpack-zh \
&& \
dnf clean all

# GCC (force 10) and LLVM (should be 17)
Expand All @@ -36,6 +40,8 @@ RUN dnf install -y \
fuse-devel \
gettext \
krb5-devel \
krb5-server \
krb5-workstation \
libaio-devel \
libicu-devel \
libunwind-devel \
Expand All @@ -48,6 +54,7 @@ RUN dnf install -y \
openssl-devel \
pam-devel \
perl-CPAN \
perl-DBI \
perl-ExtUtils-Embed \
perl-Test-Simple \
python3-devel \
Expand Down Expand Up @@ -138,3 +145,6 @@ RUN echo "modify conf" && \

WORKDIR /home/$USER_NAME
USER $USER_NAME
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
11 changes: 10 additions & 1 deletion Dockerfile-devel-rocky9
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ ENV PATH="/home/postgres/tmp_polardb_pg_17_base/bin:/home/postgres/tmp_polardb_p
RUN dnf distro-sync -y && \
dnf upgrade --refresh && \
dnf install -y epel-release && \
dnf install -y glibc-all-langpacks && \
dnf install -y \
glibc-langpack-en \
glibc-langpack-zh \
&& \
dnf clean all

# GCC (should be 13) and LLVM (should be 17)
Expand All @@ -34,6 +37,8 @@ RUN dnf install -y \
flex \
gettext \
krb5-devel \
krb5-server \
krb5-workstation \
libaio-devel \
libicu-devel \
libunwind-devel \
Expand All @@ -46,6 +51,7 @@ RUN dnf install -y \
openssl-devel \
pam-devel \
perl-CPAN \
perl-DBI \
perl-ExtUtils-Embed \
perl-Test-Simple \
python3-devel \
Expand Down Expand Up @@ -140,3 +146,6 @@ RUN echo "modify conf" && \

WORKDIR /home/$USER_NAME
USER $USER_NAME
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
10 changes: 9 additions & 1 deletion Dockerfile-devel-ubuntu20.04
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,17 @@ RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen

# Dependencies
RUN apt install -y \
RUN DEBIAN_FRONTEND=noninteractive \
apt install -y \
bison \
flex \
gettext \
krb5-admin-server \
krb5-kdc \
krb5-user \
libaio-dev \
libexpect-perl \
libdbi-perl \
libfile-find-rule-perl \
libfuse-dev \
libgss-dev \
Expand Down Expand Up @@ -159,3 +164,6 @@ RUN echo "modify conf" && \

WORKDIR /home/$USER_NAME
USER $USER_NAME
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
10 changes: 9 additions & 1 deletion Dockerfile-devel-ubuntu22.04
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,16 @@ RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen

# Dependencies
RUN apt install -y \
RUN DEBIAN_FRONTEND=noninteractive \
apt install -y \
bison \
flex \
gettext \
krb5-admin-server \
krb5-kdc \
krb5-user \
libaio-dev \
libdbi-perl \
libexpect-perl \
libfile-find-rule-perl \
libfuse-dev \
Expand Down Expand Up @@ -158,3 +163,6 @@ RUN echo "modify conf" && \

WORKDIR /home/$USER_NAME
USER $USER_NAME
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
10 changes: 9 additions & 1 deletion Dockerfile-devel-ubuntu24.04
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,16 @@ RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen

# Dependencies
RUN apt install -y \
RUN DEBIAN_FRONTEND=noninteractive \
apt install -y \
bison \
flex \
gettext \
krb5-admin-server
krb5-kdc \
krb5-user \
libaio-dev \
libdbi-perl \
libexpect-perl \
libfile-find-rule-perl \
libfuse-dev \
Expand Down Expand Up @@ -152,3 +157,6 @@ RUN echo "modify conf" && \

WORKDIR /home/$USER_NAME
USER $USER_NAME
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US.UTF-8
ENV LC_ALL=en_US.UTF-8

0 comments on commit 9680a6f

Please sign in to comment.