diff --git a/Database/image-list.yml b/Database/image-list.yml index 32f5fde3fb66a84a2a8a414e25f719d783bbcf36..201ddd887f97e08b9bdbd81ab24fb25f72263cbf 100644 --- a/Database/image-list.yml +++ b/Database/image-list.yml @@ -7,3 +7,8 @@ images: clickhouse: clickhouse influxdb: influxdb pymilvus: pymilvus + mongoose: mongoose + orientdb: orientdb + phoenix: phoenix + tdengine: tdengine + tengine: tengine \ No newline at end of file diff --git a/Database/mongoose/5.1/24.03-lts-sp1/Dockerfile b/Database/mongoose/5.1/24.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..8c00b69b6cd52b9ddef722f23339e77cd4446fe5 --- /dev/null +++ b/Database/mongoose/5.1/24.03-lts-sp1/Dockerfile @@ -0,0 +1,17 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=5.1 +ARG URL=https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mongoose/mongoose-${VERSION}.tgz + +RUN yum install -y make gcc-c++ openssl-devel && \ + yum clean all + +WORKDIR /mongoose +RUN curl -o mongoose.tgz ${URL} && \ + tar -zxf mongoose.tgz --strip-components=1 && \ + rm -rf mongoose.tgz + +WORKDIR /mongoose/examples +RUN make \ No newline at end of file diff --git a/Database/mongoose/5.1/24.03-lts-sp1/mongoose.conf b/Database/mongoose/5.1/24.03-lts-sp1/mongoose.conf new file mode 100644 index 0000000000000000000000000000000000000000..ade7aa1f12b48c6ccc8b8e67bd872e24fb348c08 --- /dev/null +++ b/Database/mongoose/5.1/24.03-lts-sp1/mongoose.conf @@ -0,0 +1,30 @@ +# Mongoose web server configuration file. +# Lines starting with '#' and empty lines are ignored. +# For detailed description of every option, visit +# http://code.google.com/p/mongoose/wiki/MongooseManual + +root /tmp +ports 80,443s +access_log /tmp/mongoose_access_log.txt +error_log /tmp/mongoose_error_log.txt + +# NOTE FOR PHP USERS: +# Correct PHP binary to use is php-cgi, NOT php! +# cgi_interp /usr/bin/php-cgi +# cgi_interp /usr/bin/perl + +# cgi_ext cgi,pl,php +# ssi_ext shtml,shtm +# auth_realm mydomain.com +# dir_list no +# index_files index.html,index.htm,index.php,index.cgi +# aliases /my_d_disk=d:\,/my_e_disk=e:\ +# acl -0.0.0.0/0,+10.0.0.0/8,+192.168.0.0/16 +# admin_uri /remote_admin +# protect /remote_admin=c:\passwords.txt +# cgi_env FOO=BAR,BAZ=POO +# auth_gpass c:\mongoose_global_web_passwords.txt +# auth_PUT c:\mongoose_put_delete_passwords.txt +# ssl_cert ssl_cert.pem +# max_threads 100 +# idle_time 10 diff --git a/Database/mongoose/meta.yml b/Database/mongoose/meta.yml new file mode 100644 index 0000000000000000000000000000000000000000..c214fcaa1adbe5d4c39b3ad952ff92f90b60d87c --- /dev/null +++ b/Database/mongoose/meta.yml @@ -0,0 +1,2 @@ +5.1-oe2403sp1: + path: 5.1/24.03-lts-sp1/Dockerfile \ No newline at end of file diff --git a/Database/orientdb/3.2.38/24.03-lts-sp1/Dockerfile b/Database/orientdb/3.2.38/24.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..6d4891ff0414cabec75261d7f47b4c338fdd49d6 --- /dev/null +++ b/Database/orientdb/3.2.38/24.03-lts-sp1/Dockerfile @@ -0,0 +1,10 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} + +ARG VERSION=3.2.38 + +RUN yum install -y git maven java-17-openjdk-devel && \ + git clone -b ${VERSION} https://github.com/orientechnologies/orientdb.git + +WORKDIR /orientdb +RUN mvn clean install -Dmaven.test.skip=true \ No newline at end of file diff --git a/Database/orientdb/meta.yml b/Database/orientdb/meta.yml new file mode 100644 index 0000000000000000000000000000000000000000..ead77bf6b20104c4dc5e45110166ee22057a29dd --- /dev/null +++ b/Database/orientdb/meta.yml @@ -0,0 +1,2 @@ +3.2.38-oe2403sp1: + path: 3.2.38/24.03-lts-sp1/Dockerfile \ No newline at end of file diff --git a/Database/phoenix/5.2.1/24.03-lts-sp1/Dockerfile b/Database/phoenix/5.2.1/24.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..70e69242b52af147dfc961a22271e468a993573b --- /dev/null +++ b/Database/phoenix/5.2.1/24.03-lts-sp1/Dockerfile @@ -0,0 +1,9 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} + +ARG VERSION=5.2.1 + +RUN curl -fSL -o phoenix.tar.gz https://dlcdn.apache.org/phoenix/phoenix-${VERSION}/phoenix-hbase-2.4-${VERSION}-bin.tar.gz && \ + tar -xvf phoenix.tar.gz -C /usr/local/ --strip-components=1 + +CMD ["-bash"] \ No newline at end of file diff --git a/Database/phoenix/meta.yml b/Database/phoenix/meta.yml new file mode 100644 index 0000000000000000000000000000000000000000..8c0776e9e51eff2ead302e286ad6c71b973b358b --- /dev/null +++ b/Database/phoenix/meta.yml @@ -0,0 +1,2 @@ +5.2.1-oe2403sp1: + path: 5.2.1/24.03-lts-sp1/Dockerfile \ No newline at end of file diff --git a/Database/tdengine/3.3.6.0/24.03-lts-sp1/Dockerfile b/Database/tdengine/3.3.6.0/24.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..ce7e707cfcdcb76698b5772ca40826cb5fb7e466 --- /dev/null +++ b/Database/tdengine/3.3.6.0/24.03-lts-sp1/Dockerfile @@ -0,0 +1,16 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} + +ARG VERSION=3.3.6.0 + +RUN yum install -y git cmake gcc gcc-c++ make pkgconfig openssl-devel maven golang \ + zlib-devel zlib-static snappy-devel xz-devel jansson-devel \ + libatomic-static libstdc++-static tree autoconf automake && \ + yum clean all + +RUN git clone -b ver-${VERSION} https://github.com/taosdata/TDengine.git +COPY build.sh /TDengine/build.sh +COPY curl_CMakeLists.txt.in /TDengine/cmake/curl_CMakeLists.txt.in +RUN cd TDengine && \ + chmod 755 build.sh && \ + ./build.sh \ No newline at end of file diff --git a/Database/tdengine/3.3.6.0/24.03-lts-sp1/build.sh b/Database/tdengine/3.3.6.0/24.03-lts-sp1/build.sh new file mode 100644 index 0000000000000000000000000000000000000000..46555cb474f1eb98ec77c7d56e242041592af0ff --- /dev/null +++ b/Database/tdengine/3.3.6.0/24.03-lts-sp1/build.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +if [ ! -d debug ]; then + mkdir debug || echo -e "failed to make directory for build" +fi + +cd debug && cmake .. -DJEMALLOC_ENABLED=ON -DBUILD_TOOLS=true -DBUILD_HTTP=false && make -j4 diff --git a/Database/tdengine/3.3.6.0/24.03-lts-sp1/curl_CMakeLists.txt.in b/Database/tdengine/3.3.6.0/24.03-lts-sp1/curl_CMakeLists.txt.in new file mode 100644 index 0000000000000000000000000000000000000000..8239e472fec48a8f168d86a3dd79f0bba6e339f0 --- /dev/null +++ b/Database/tdengine/3.3.6.0/24.03-lts-sp1/curl_CMakeLists.txt.in @@ -0,0 +1,20 @@ +# curl +ExternalProject_Add(curl2 + URL https://github.com/curl/curl/releases/download/curl-8_2_1/curl-8.2.1.tar.gz + #URL https://curl.se/download/curl-8.2.1.tar.gz + URL_HASH MD5=b25588a43556068be05e1624e0e74d41 + DOWNLOAD_NO_PROGRESS 1 + DOWNLOAD_DIR "${TD_CONTRIB_DIR}/deps-download" + #GIT_REPOSITORY https://github.com/curl/curl.git + #GIT_TAG curl-7_88_1 + SOURCE_DIR "${TD_CONTRIB_DIR}/curl2" + DEPENDS openssl + BUILD_IN_SOURCE TRUE + BUILD_ALWAYS 1 + UPDATE_COMMAND "" + CONFIGURE_COMMAND ${CONTRIB_CONFIG_ENV} CFLAGS+=-fPIC ./configure CXXFLAGS="-fPIC" --prefix=$ENV{HOME}/.cos-local.2 --with-ssl=$ENV{HOME}/.cos-local.2 --enable-websockets --enable-shared=no --disable-ldap --disable-ldaps --without-brotli --without-zstd --without-libidn2 --without-nghttp2 --without-libpsl --without-librtmp #--enable-debug + BUILD_COMMAND make -j + INSTALL_COMMAND make install + TEST_COMMAND "" + GIT_SHALLOW true +) \ No newline at end of file diff --git a/Database/tdengine/meta.yml b/Database/tdengine/meta.yml new file mode 100644 index 0000000000000000000000000000000000000000..fbbf9a41dece5f2746a4a5dda9912f840a20cf14 --- /dev/null +++ b/Database/tdengine/meta.yml @@ -0,0 +1,2 @@ +3.3.6.0-oe2403sp1: + path: 3.3.6.0/24.03-lts-sp1/Dockerfile \ No newline at end of file diff --git a/Database/tengine/2.4.1/24.03-lts-sp1/Dockerfile b/Database/tengine/2.4.1/24.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..4fbc81b546f664c6868b2041c36440dc5ef8d7e2 --- /dev/null +++ b/Database/tengine/2.4.1/24.03-lts-sp1/Dockerfile @@ -0,0 +1,18 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} + +ARG VERSION=2.4.1 +ENV TENGINE_URL=https://tengine.taobao.org/download/tengine-${VERSION}.tar.gz + +RUN yum install -y gcc make zlib-devel pcre-devel openssl-devel jemalloc-devel chkconfig && \ + yum clean all + +WORKDIR /tengine +RUN curl -fSL -o tengine.tar.gz ${TENGINE_URL} && \ + tar -xzf tengine.tar.gz --strip-components=1 && \ + rm tengine.tar.gz + +RUN ./configure --prefix=/usr/local/nginx --with-jemalloc && \ + make -j$nproc && \ + make install && \ + rm -rf /tengine diff --git a/Database/tengine/meta.yml b/Database/tengine/meta.yml new file mode 100644 index 0000000000000000000000000000000000000000..d8d03f085473ec275a7a9baa0afda077692fec8d --- /dev/null +++ b/Database/tengine/meta.yml @@ -0,0 +1,2 @@ +2.4.1-oe2403sp1: + path: 2.4.1/24.03-lts-sp1/Dockerfile \ No newline at end of file