Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences
C++ algoliadatastoreelasticsearchenterprise-searchfacetingfull-text-searchfuzzy-searchgeosearchin-memoryinstantsearchmerchandisingpineconesearchsearch-enginesemantic-searchsimilarity-searchsite-searchsynonymstypo-tolerancevector-search
Rename ubuntu gcc base image.
Kishore Nallan79781399927c
diff --git a/CMakeLists.txt b/CMakeLists.txtindex 07376ac9..3385c774 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -77,7 +77,13 @@ target_compile_definitions(search PRIVATE ROOT_DIR="${CMAKE_SOURCE_DIR}/")target_compile_definitions(benchmark PRIVATE ROOT_DIR="${CMAKE_SOURCE_DIR}/")target_compile_definitions(typesense_test PRIVATE ROOT_DIR="${CMAKE_SOURCE_DIR}/")-set(STD_LIB -static-libstdc++)+if (APPLE)+ # https://stackoverflow.com/a/26543140/131050 (can't statically link libgcc on Mac)+ set(STD_LIB -static-libstdc++)+else()+ set(STD_LIB -static-libgcc -static-libstdc++)+endif()+set(ROCKSDB_LIBS rocksdb ${SNAPPY_LIBRARIES} ${ZLIB_LIBRARIES})if(NOT APPLE)diff --git a/docker/development.Dockerfile b/docker/development.Dockerfileindex 592a6303..36a3af6d 100644--- a/docker/development.Dockerfile+++ b/docker/development.Dockerfile@@ -1,4 +1,7 @@-FROM wreally/ubuntu-10-04-gcc:4.9.2+FROM typesense/ubuntu-10.04-gcc:4.9.2++ENV PATH /usr/local/gcc-4.9.2/bin/:$PATH+ENV LD_LIBRARY_PATH /usr/local/gcc-4.9.2/lib64RUN apt-get updatediff --git a/docker/ubuntu-10-04-gcc.Dockerfile b/docker/ubuntu-10-04-gcc.Dockerfileindex eb9bbd7e..5a43be71 100644--- a/docker/ubuntu-10-04-gcc.Dockerfile+++ b/docker/ubuntu-10-04-gcc.Dockerfile@@ -1,3 +1,8 @@+# NOTE: Default build image is bloated. Before publishing, export from a container to squash the image:+# $ docker run -it typesense/ubuntu-10.04-gcc:4.9.2 bash -c "exit"+# $ docker ps -a | grep typesense+# $ docker export <container_id> | docker import - typesense/ubuntu-10.04-gcc:4.9.2+FROM ubuntu:10.04RUN sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list