Loading docker/0.9.6/release/Dockerfile +108 Viewed Changes for docker/0.9.6/release/Dockerfile: 108 added lines, 0 removed lines. Original line number Diff line number Diff line # syntax=docker/dockerfile:1 # Builder stage FROM debian:bookworm-slim AS builder # Install build dependencies RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ cmake \ git \ curl \ ca-certificates \ libtool \ autoconf \ automake \ pkg-config \ bison \ flex \ libzstd-dev \ liblz4-dev \ libcap-dev \ libzmq3-dev \ liburing-dev \ libssl-dev \ libcurl4-openssl-dev \ libffi-dev \ zlib1g-dev \ python3 \ perl \ patch \ && rm -rf /var/lib/apt/lists/* # Set up environment variables for the build ENV GKFS_PATH=/usr/local/gekkofs ENV GKFS_DEPS_PATH=/usr/local/gekkofs_deps ENV GKFS_SRC=/usr/src/gekkofs ENV LD_LIBRARY_PATH=${GKFS_DEPS_PATH}/lib:${GKFS_DEPS_PATH}/lib64:${LD_LIBRARY_PATH:-} ENV LIBRARY_PATH=${GKFS_DEPS_PATH}/lib:${GKFS_DEPS_PATH}/lib64:${LIBRARY_PATH:-} # Create directories RUN mkdir -p ${GKFS_DEPS_PATH} ${GKFS_SRC} # Copy scripts and source COPY scripts ${GKFS_SRC}/scripts # Build dependencies # We use the default profile but might need to adjust if specific versions are required. # Assuming compile_dep.sh handles downloading/building dependencies. WORKDIR ${GKFS_SRC} RUN scripts/dl_dep.sh \ -P ${GKFS_SRC}/scripts/profiles \ -p docker:latest \ /usr/src/gekkofs_deps_src RUN scripts/compile_dep.sh \ -P ${GKFS_SRC}/scripts/profiles \ -p docker:latest \ -j $(nproc) \ /usr/src/gekkofs_deps_src \ ${GKFS_DEPS_PATH} # Copy rest of source (invalidates cache for GekkoFS build only) COPY . ${GKFS_SRC} # Build GekkoFS WORKDIR ${GKFS_SRC}/build RUN cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_PREFIX_PATH=${GKFS_DEPS_PATH} \ -DCMAKE_INSTALL_PREFIX=${GKFS_PATH} \ -DGKFS_RENAME_SUPPORT=ON \ -DGKFS_SYMLINK_SUPPORT=ON \ -DGKFS_ENABLE_ROCKSDB=ON \ -DGKFS_ENABLE_PROMETHEUS=ON \ -DGKFS_ENABLE_CLIENT_METRICS=ON \ -DGKFS_BUILD_TESTS=OFF \ -DGKFS_INSTALL_TESTS=OFF \ -DGKFS_BUILD_EXAMPLES=OFF \ .. && \ make -j$(nproc) && \ make install # Runtime stage FROM debian:bookworm-slim # Install runtime dependencies RUN apt-get update && apt-get install -y --no-install-recommends \ libstdc++6 \ libgcc-s1 \ libcurl4 \ liblz4-1 \ libzstd1 \ libcap2 \ libzmq5 \ liburing2 \ && rm -rf /var/lib/apt/lists/* # Copy GekkoFS artifacts COPY --from=builder /usr/local/gekkofs /usr/local/gekkofs COPY --from=builder /usr/local/gekkofs_deps/lib /usr/local/gekkofs_deps/lib # Set up environment variables ENV LD_LIBRARY_PATH=/usr/local/gekkofs/lib:/usr/local/gekkofs_deps/lib:/usr/local/lib ENV PATH=/usr/local/gekkofs/bin:${PATH} # Default command CMD ["gkfs_daemon", "--help"] docker/0.9.6/release/Makefile +10 Viewed Changes for docker/0.9.6/release/Makefile: 10 added lines, 0 removed lines. Original line number Diff line number Diff line .PHONY: all amd64: docker build --platform amd64 -t gekkofs/release:0.9.6 -f Dockerfile ../../.. aarch64: docker build --platform aarch64 -t gekkofs/release:0.9.6 -f Dockerfile ../../.. all: docker build -t gekkofs/release:0.9.6 -f Dockerfile ../../.. scripts/profiles/0.9.6-dev/install/zstd.install +1 −1 Viewed Changes for scripts/profiles/0.9.6-dev/install/zstd.install: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ pkg_install() { -DCMAKE_POSITION_INDEPENDENT_CODE=ON .. make -j"${CORES}" make DESTDIR="${INSTALL_DIR}" PREFIX="" install make install Loading scripts/profiles/0.9.6-dev/docker.specs +29 Viewed Changes for scripts/profiles/0.9.6-dev/docker.specs: 29 added lines, 0 removed lines. Original line number Diff line number Diff line declare -A wgetdeps clonedeps clonedeps_args clonedeps_patches extra_install_args declare -a order comment="Dependencies for Docker Release" wgetdeps=( ["zstd"]="1.5.7" ["lz4"]="1.9.4" ["capstone"]="6.0.0-Alpha1" ["argobots"]="1.2" ["rocksdb"]="10.4.2" ["json-c"]="0.17-20230812" ["cereal"]="1.3.2" ["libzmq"]="4.3.5" ["cppzmq"]="4.10.0" ["prometheus-cpp"]="v1.0.0" ) clonedeps=( ["libfabric"]="HEAD@v2.2.0" ["mercury"]="v2.4.1" ["margo"]="v0.21.0" ["thallium"]="v0.15.1" ["syscall_intercept"]="d8b2a69961921ed123625c79a609331fc56a8931" ) clonedeps_args=( ["mercury"]="--recurse-submodules" ) order=( "lz4" "zstd" "capstone" "json-c" "cereal" "libfabric" "mercury" "argobots" "margo" "thallium" "rocksdb" "syscall_intercept" "libzmq" "cppzmq" "prometheus-cpp" ) extra_install_args=() src/common/msgpack_util.cpp +1 −1 Viewed Changes for src/common/msgpack_util.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -208,7 +208,7 @@ ClientMetrics::path() const { return flush_path_; } void ClientMetrics::path(const string& path, const string prefix) { ClientMetrics::path(const string& path, const string& prefix) { const std::time_t t = std::chrono::system_clock::to_time_t(init_t_); std::stringstream init_t_stream; init_t_stream << std::put_time(std::localtime(&t), "%F_%T"); Loading Loading
docker/0.9.6/release/Dockerfile +108 Viewed Changes for docker/0.9.6/release/Dockerfile: 108 added lines, 0 removed lines. Original line number Diff line number Diff line # syntax=docker/dockerfile:1 # Builder stage FROM debian:bookworm-slim AS builder # Install build dependencies RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ cmake \ git \ curl \ ca-certificates \ libtool \ autoconf \ automake \ pkg-config \ bison \ flex \ libzstd-dev \ liblz4-dev \ libcap-dev \ libzmq3-dev \ liburing-dev \ libssl-dev \ libcurl4-openssl-dev \ libffi-dev \ zlib1g-dev \ python3 \ perl \ patch \ && rm -rf /var/lib/apt/lists/* # Set up environment variables for the build ENV GKFS_PATH=/usr/local/gekkofs ENV GKFS_DEPS_PATH=/usr/local/gekkofs_deps ENV GKFS_SRC=/usr/src/gekkofs ENV LD_LIBRARY_PATH=${GKFS_DEPS_PATH}/lib:${GKFS_DEPS_PATH}/lib64:${LD_LIBRARY_PATH:-} ENV LIBRARY_PATH=${GKFS_DEPS_PATH}/lib:${GKFS_DEPS_PATH}/lib64:${LIBRARY_PATH:-} # Create directories RUN mkdir -p ${GKFS_DEPS_PATH} ${GKFS_SRC} # Copy scripts and source COPY scripts ${GKFS_SRC}/scripts # Build dependencies # We use the default profile but might need to adjust if specific versions are required. # Assuming compile_dep.sh handles downloading/building dependencies. WORKDIR ${GKFS_SRC} RUN scripts/dl_dep.sh \ -P ${GKFS_SRC}/scripts/profiles \ -p docker:latest \ /usr/src/gekkofs_deps_src RUN scripts/compile_dep.sh \ -P ${GKFS_SRC}/scripts/profiles \ -p docker:latest \ -j $(nproc) \ /usr/src/gekkofs_deps_src \ ${GKFS_DEPS_PATH} # Copy rest of source (invalidates cache for GekkoFS build only) COPY . ${GKFS_SRC} # Build GekkoFS WORKDIR ${GKFS_SRC}/build RUN cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_PREFIX_PATH=${GKFS_DEPS_PATH} \ -DCMAKE_INSTALL_PREFIX=${GKFS_PATH} \ -DGKFS_RENAME_SUPPORT=ON \ -DGKFS_SYMLINK_SUPPORT=ON \ -DGKFS_ENABLE_ROCKSDB=ON \ -DGKFS_ENABLE_PROMETHEUS=ON \ -DGKFS_ENABLE_CLIENT_METRICS=ON \ -DGKFS_BUILD_TESTS=OFF \ -DGKFS_INSTALL_TESTS=OFF \ -DGKFS_BUILD_EXAMPLES=OFF \ .. && \ make -j$(nproc) && \ make install # Runtime stage FROM debian:bookworm-slim # Install runtime dependencies RUN apt-get update && apt-get install -y --no-install-recommends \ libstdc++6 \ libgcc-s1 \ libcurl4 \ liblz4-1 \ libzstd1 \ libcap2 \ libzmq5 \ liburing2 \ && rm -rf /var/lib/apt/lists/* # Copy GekkoFS artifacts COPY --from=builder /usr/local/gekkofs /usr/local/gekkofs COPY --from=builder /usr/local/gekkofs_deps/lib /usr/local/gekkofs_deps/lib # Set up environment variables ENV LD_LIBRARY_PATH=/usr/local/gekkofs/lib:/usr/local/gekkofs_deps/lib:/usr/local/lib ENV PATH=/usr/local/gekkofs/bin:${PATH} # Default command CMD ["gkfs_daemon", "--help"]
docker/0.9.6/release/Makefile +10 Viewed Changes for docker/0.9.6/release/Makefile: 10 added lines, 0 removed lines. Original line number Diff line number Diff line .PHONY: all amd64: docker build --platform amd64 -t gekkofs/release:0.9.6 -f Dockerfile ../../.. aarch64: docker build --platform aarch64 -t gekkofs/release:0.9.6 -f Dockerfile ../../.. all: docker build -t gekkofs/release:0.9.6 -f Dockerfile ../../..
scripts/profiles/0.9.6-dev/install/zstd.install +1 −1 Viewed Changes for scripts/profiles/0.9.6-dev/install/zstd.install: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ pkg_install() { -DCMAKE_POSITION_INDEPENDENT_CODE=ON .. make -j"${CORES}" make DESTDIR="${INSTALL_DIR}" PREFIX="" install make install Loading
scripts/profiles/0.9.6-dev/docker.specs +29 Viewed Changes for scripts/profiles/0.9.6-dev/docker.specs: 29 added lines, 0 removed lines. Original line number Diff line number Diff line declare -A wgetdeps clonedeps clonedeps_args clonedeps_patches extra_install_args declare -a order comment="Dependencies for Docker Release" wgetdeps=( ["zstd"]="1.5.7" ["lz4"]="1.9.4" ["capstone"]="6.0.0-Alpha1" ["argobots"]="1.2" ["rocksdb"]="10.4.2" ["json-c"]="0.17-20230812" ["cereal"]="1.3.2" ["libzmq"]="4.3.5" ["cppzmq"]="4.10.0" ["prometheus-cpp"]="v1.0.0" ) clonedeps=( ["libfabric"]="HEAD@v2.2.0" ["mercury"]="v2.4.1" ["margo"]="v0.21.0" ["thallium"]="v0.15.1" ["syscall_intercept"]="d8b2a69961921ed123625c79a609331fc56a8931" ) clonedeps_args=( ["mercury"]="--recurse-submodules" ) order=( "lz4" "zstd" "capstone" "json-c" "cereal" "libfabric" "mercury" "argobots" "margo" "thallium" "rocksdb" "syscall_intercept" "libzmq" "cppzmq" "prometheus-cpp" ) extra_install_args=()
src/common/msgpack_util.cpp +1 −1 Viewed Changes for src/common/msgpack_util.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -208,7 +208,7 @@ ClientMetrics::path() const { return flush_path_; } void ClientMetrics::path(const string& path, const string prefix) { ClientMetrics::path(const string& path, const string& prefix) { const std::time_t t = std::chrono::system_clock::to_time_t(init_t_); std::stringstream init_t_stream; init_t_stream << std::put_time(std::localtime(&t), "%F_%T"); Loading