Skip to content

Commit

Permalink
Merge pull request noobaa#7571 from alphaprinz/centos9
Browse files Browse the repository at this point in the history
docker build - bump base image to centos stream 9
  • Loading branch information
alphaprinz committed Nov 13, 2023
2 parents 2be89fc + ebb8620 commit 41aa04b
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 17 deletions.
8 changes: 3 additions & 5 deletions src/deploy/NVA_build/NooBaa.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RUN tar \
# Cache: Rebuild when any layer is changing
##############################################################

FROM quay.io/centos/centos:stream8
FROM quay.io/centos/centos:stream9

# The ports are overridden for Ceph Test later
ENV container docker
Expand Down Expand Up @@ -67,21 +67,19 @@ RUN dnf install -y -q bash \
rsyslog \
strace \
wget \
curl \
nc \
less \
bash-completion \
python3-setuptools \
jemalloc \
xz && \
xz \
pip && \
dnf clean all

COPY ./src/deploy/NVA_build/install_arrow_run.sh ./src/deploy/NVA_build/install_arrow_run.sh
ARG BUILD_S3SELECT_PARQUET=0
RUN ./src/deploy/NVA_build/install_arrow_run.sh $BUILD_S3SELECT_PARQUET

RUN mkdir -p /usr/local/lib/python3.6/site-packages

##############################################################
# Layers:
# Title: Getting the node
Expand Down
4 changes: 2 additions & 2 deletions src/deploy/NVA_build/Tests.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ ENV TEST_CONTAINER true
##############################################################

RUN dnf group install -y -q "Development Tools" && \
dnf install -y -q --nogpgcheck vim \
which python3-virtualenv python36-devel libevent-devel libffi-devel libxml2-devel libxslt-devel zlib-devel \
dnf install -y -q --nogpgcheck --enablerepo=crb vim \
which python3-virtualenv python3-devel libevent-devel libffi-devel libxml2-devel libxslt-devel zlib-devel \
git \
tox && \
dnf clean all
Expand Down
5 changes: 2 additions & 3 deletions src/deploy/NVA_build/builder.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/centos/centos:stream8
FROM quay.io/centos/centos:stream9
LABEL maintainer="Liran Mauda (lmauda@redhat.com)"

##############################################################
Expand All @@ -14,10 +14,9 @@ RUN dnf update -y -q --nobest && \
COPY ./src/deploy/NVA_build/install_arrow_build.sh ./src/deploy/NVA_build/install_arrow_build.sh
ARG BUILD_S3SELECT_PARQUET=0
RUN ./src/deploy/NVA_build/install_arrow_build.sh $BUILD_S3SELECT_PARQUET
RUN dnf install -y -q wget unzip which vim python2 python3 boost-devel && \
RUN dnf install -y -q wget unzip which vim python3 boost-devel && \
dnf group install -y -q "Development Tools" && \
dnf clean all
RUN alternatives --set python /usr/bin/python3
RUN version="2.15.05" && \
wget -q -O nasm-${version}.tar.gz https://github.com/netwide-assembler/nasm/archive/nasm-${version}.tar.gz && \
tar -xf nasm-${version}.tar.gz && \
Expand Down
3 changes: 1 addition & 2 deletions src/deploy/NVA_build/dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# dev.Dockerfile is meant to be used manually for developer testing
FROM quay.io/centos/centos:stream8
FROM quay.io/centos/centos:stream9

ENV container docker

RUN dnf update -y -q && \
dnf install -y -q \
bash bash-completion \
wget curl nc unzip which less vim \
python2 python2-setuptools \
python3 python3-setuptools \
gdb strace lsof \
openssl && \
Expand Down
7 changes: 3 additions & 4 deletions src/deploy/NVA_build/setup_platform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ function install_supervisor {
if [ ${ID} == "centos" ] || [ ${ID} == "fedora" ]
then
deploy_log install_supervisor start
# easy_install is for Supervisord and comes from python-setuptools
/usr/bin/easy_install-3.6 supervisor
deploy_log install_supervisor done
pip install supervisor
deploy_log install_supervisor done
fi

deploy_log "setup_supervisors start"
deploy_log "setup_supervisors start"
mkdir -p /log/supervisor

# Generate default supervisord config
Expand Down
2 changes: 1 addition & 1 deletion src/native/s3select/s3select.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
's3select_napi.cpp'
],
'link_settings': {
'libraries': ['/lib64/libboost_thread.so.1.66.0']
'libraries': ['/lib64/libboost_thread.so.1.75.0']
},
'variables': {
'BUILD_S3SELECT_PARQUET%':0
Expand Down

0 comments on commit 41aa04b

Please sign in to comment.