This is an automated email from the ASF dual-hosted git repository. laiyingchun pushed a commit to branch chore_rockylinux in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git
commit f8945e4d7d1e14fb54ecbc0a431078715d354451 Author: Yingchun Lai <laiyingc...@apache.org> AuthorDate: Sun Jan 12 23:02:41 2025 +0800 chore(gha): introduce RockyLinux as action runner --- docker/pegasus-build-env/rocky9/Dockerfile | 58 ++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/docker/pegasus-build-env/rocky9/Dockerfile b/docker/pegasus-build-env/rocky9/Dockerfile new file mode 100644 index 000000000..891a4b78e --- /dev/null +++ b/docker/pegasus-build-env/rocky9/Dockerfile @@ -0,0 +1,58 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +FROM rockylinux/rockylinux:9.5-minimal + +RUN dnf upgrade --refresh \ + dnf -y install autoconf \ + automake \ + bison \ + cmake \ + cyrus-sasl-devel \ + file \ + flex \ + gdb \ + git \ + java-1.8.0-openjdk-devel \ + krb5-devel \ + libaio-devel \ + libtool \ + make \ + maven \ + nmap-ncat \ + openssl-devel \ + patch \ + python3 \ + unzip \ + vim \ + wget \ + which \ + zip \ + zlib \ + zlib-devel && \ + dnf clean all && \ + rm -rf /var/cache/dnf; + +RUN wget --progress=dot:giga https://archive.apache.org/dist/thrift/0.11.0/thrift-0.11.0.tar.gz -P /opt/thrift && \ + cd /opt/thrift && tar xzf thrift-0.11.0.tar.gz && cd thrift-0.11.0 && ./bootstrap.sh && \ + ./configure --enable-libs=no && \ + make -j$(($(nproc)/2+1)) && make install && cd - && \ + rm -rf thrift-0.11.0 thrift-0.11.0.tar.gz + +ENV JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk + +WORKDIR /root/apache --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pegasus.apache.org For additional commands, e-mail: commits-h...@pegasus.apache.org