diff --git a/release/package/centos-7/Dockerfile b/release/package/centos-7/Dockerfile index f5cf1ea0f..77e67292f 100644 --- a/release/package/centos-7/Dockerfile +++ b/release/package/centos-7/Dockerfile @@ -12,4 +12,11 @@ RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-${TOOL && tar xzvf toolchain-${TOOLCHAIN_VERSION}-binaries-centos-7-x86_64.tar.gz -C /opt \ && rm toolchain-${TOOLCHAIN_VERSION}-binaries-centos-7-x86_64.tar.gz +# Install toolchain run deps and memgraph build deps +SHELL ["/bin/bash", "-c"] +RUN git clone https://github.com/memgraph/memgraph.git \ + && cd memgraph \ + && ./environment/os/centos-7.sh install TOOLCHAIN_RUN_DEPS \ + && ./environment/os/centos-7.sh install MEMGRAPH_BUILD_DEPS \ + ENTRYPOINT ["sleep", "infinity"] diff --git a/release/package/centos-9/Dockerfile b/release/package/centos-9/Dockerfile index 299fc58f9..6521dd144 100644 --- a/release/package/centos-9/Dockerfile +++ b/release/package/centos-9/Dockerfile @@ -12,4 +12,11 @@ RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-${TOOL && tar xzvf toolchain-${TOOLCHAIN_VERSION}-binaries-centos-9-x86_64.tar.gz -C /opt \ && rm toolchain-${TOOLCHAIN_VERSION}-binaries-centos-9-x86_64.tar.gz +# Install toolchain run deps and memgraph build deps +SHELL ["/bin/bash", "-c"] +RUN git clone https://github.com/memgraph/memgraph.git \ + && cd memgraph \ + && ./environment/os/centos-9.sh install TOOLCHAIN_RUN_DEPS \ + && ./environment/os/centos-9.sh install MEMGRAPH_BUILD_DEPS \ + ENTRYPOINT ["sleep", "infinity"] diff --git a/release/package/debian-10/Dockerfile b/release/package/debian-10/Dockerfile index ac52740d4..926850239 100644 --- a/release/package/debian-10/Dockerfile +++ b/release/package/debian-10/Dockerfile @@ -15,4 +15,11 @@ RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-${TOOL && tar xzvf toolchain-${TOOLCHAIN_VERSION}-binaries-debian-10-amd64.tar.gz -C /opt \ && rm toolchain-${TOOLCHAIN_VERSION}-binaries-debian-10-amd64.tar.gz +# Install toolchain run deps and memgraph build deps +SHELL ["/bin/bash", "-c"] +RUN git clone https://github.com/memgraph/memgraph.git \ + && cd memgraph \ + && ./environment/os/debian-10.sh install TOOLCHAIN_RUN_DEPS \ + && ./environment/os/debian-10.sh install MEMGRAPH_BUILD_DEPS \ + ENTRYPOINT ["sleep", "infinity"] diff --git a/release/package/debian-11-arm/Dockerfile b/release/package/debian-11-arm/Dockerfile index c5ad714b5..0fff820d5 100644 --- a/release/package/debian-11-arm/Dockerfile +++ b/release/package/debian-11-arm/Dockerfile @@ -15,4 +15,11 @@ RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-${TOOL && tar xzvf toolchain-${TOOLCHAIN_VERSION}-binaries-debian-11-arm64.tar.gz -C /opt \ && rm toolchain-${TOOLCHAIN_VERSION}-binaries-debian-11-arm64.tar.gz +# Install toolchain run deps and memgraph build deps +SHELL ["/bin/bash", "-c"] +RUN git clone https://github.com/memgraph/memgraph.git \ + && cd memgraph \ + && ./environment/os/debian-11-arm.sh install TOOLCHAIN_RUN_DEPS \ + && ./environment/os/debian-11-arm.sh install MEMGRAPH_BUILD_DEPS \ + ENTRYPOINT ["sleep", "infinity"] diff --git a/release/package/debian-11/Dockerfile b/release/package/debian-11/Dockerfile index 298d308f5..71fb6751c 100644 --- a/release/package/debian-11/Dockerfile +++ b/release/package/debian-11/Dockerfile @@ -15,4 +15,11 @@ RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-${TOOL && tar xzvf toolchain-${TOOLCHAIN_VERSION}-binaries-debian-11-amd64.tar.gz -C /opt \ && rm toolchain-${TOOLCHAIN_VERSION}-binaries-debian-11-amd64.tar.gz +# Install toolchain run deps and memgraph build deps +SHELL ["/bin/bash", "-c"] +RUN git clone https://github.com/memgraph/memgraph.git \ + && cd memgraph \ + && ./environment/os/debian-11.sh install TOOLCHAIN_RUN_DEPS \ + && ./environment/os/debian-11.sh install MEMGRAPH_BUILD_DEPS \ + ENTRYPOINT ["sleep", "infinity"] diff --git a/release/package/debian-12-arm/Dockerfile b/release/package/debian-12-arm/Dockerfile index 40f2d458e..6240ede8d 100644 --- a/release/package/debian-12-arm/Dockerfile +++ b/release/package/debian-12-arm/Dockerfile @@ -15,4 +15,11 @@ RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-${TOOL && tar xzvf toolchain-${TOOLCHAIN_VERSION}-binaries-debian-12-arm64.tar.gz -C /opt \ && rm toolchain-${TOOLCHAIN_VERSION}-binaries-debian-12-arm64.tar.gz +# Install toolchain run deps and memgraph build deps +SHELL ["/bin/bash", "-c"] +RUN git clone https://github.com/memgraph/memgraph.git \ + && cd memgraph \ + && ./environment/os/debian-12-arm.sh install TOOLCHAIN_RUN_DEPS \ + && ./environment/os/debian-12-arm.sh install MEMGRAPH_BUILD_DEPS \ + ENTRYPOINT ["sleep", "infinity"] diff --git a/release/package/debian-12/Dockerfile b/release/package/debian-12/Dockerfile index 1d92bae95..506b8130f 100644 --- a/release/package/debian-12/Dockerfile +++ b/release/package/debian-12/Dockerfile @@ -15,4 +15,11 @@ RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-${TOOL && tar xzvf toolchain-${TOOLCHAIN_VERSION}-binaries-debian-12-amd64.tar.gz -C /opt \ && rm toolchain-${TOOLCHAIN_VERSION}-binaries-debian-12-amd64.tar.gz +# Install toolchain run deps and memgraph build deps +SHELL ["/bin/bash", "-c"] +RUN git clone https://github.com/memgraph/memgraph.git \ + && cd memgraph \ + && ./environment/os/debian-12.sh install TOOLCHAIN_RUN_DEPS \ + && ./environment/os/debian-12.sh install MEMGRAPH_BUILD_DEPS \ + ENTRYPOINT ["sleep", "infinity"] diff --git a/release/package/fedora-36/Dockerfile b/release/package/fedora-36/Dockerfile index 2cdb61c9d..0f8cab2c5 100644 --- a/release/package/fedora-36/Dockerfile +++ b/release/package/fedora-36/Dockerfile @@ -13,4 +13,11 @@ RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-${TOOL && tar xzvf toolchain-${TOOLCHAIN_VERSION}-binaries-fedora-36-x86_64.tar.gz -C /opt \ && rm toolchain-${TOOLCHAIN_VERSION}-binaries-fedora-36-x86_64.tar.gz +# Install toolchain run deps and memgraph build deps +SHELL ["/bin/bash", "-c"] +RUN git clone https://github.com/memgraph/memgraph.git \ + && cd memgraph \ + && ./environment/os/fedora-36.sh install TOOLCHAIN_RUN_DEPS \ + && ./environment/os/fedora-36.sh install MEMGRAPH_BUILD_DEPS \ + ENTRYPOINT ["sleep", "infinity"] diff --git a/release/package/fedora-38/Dockerfile b/release/package/fedora-38/Dockerfile index 67e8441c6..7fc229a86 100644 --- a/release/package/fedora-38/Dockerfile +++ b/release/package/fedora-38/Dockerfile @@ -13,4 +13,11 @@ RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-${TOOL && tar xzvf toolchain-${TOOLCHAIN_VERSION}-binaries-fedora-38-amd64.tar.gz -C /opt \ && rm toolchain-${TOOLCHAIN_VERSION}-binaries-fedora-38-amd64.tar.gz +# Install toolchain run deps and memgraph build deps +SHELL ["/bin/bash", "-c"] +RUN git clone https://github.com/memgraph/memgraph.git \ + && cd memgraph \ + && ./environment/os/fedora-38.sh install TOOLCHAIN_RUN_DEPS \ + && ./environment/os/fedora-38.sh install MEMGRAPH_BUILD_DEPS \ + ENTRYPOINT ["sleep", "infinity"] diff --git a/release/package/fedora-39/Dockerfile b/release/package/fedora-39/Dockerfile index 0dac53a16..9f0cde88d 100644 --- a/release/package/fedora-39/Dockerfile +++ b/release/package/fedora-39/Dockerfile @@ -13,4 +13,11 @@ RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-${TOOL && tar xzvf toolchain-${TOOLCHAIN_VERSION}-binaries-fedora-39-amd64.tar.gz -C /opt \ && rm toolchain-${TOOLCHAIN_VERSION}-binaries-fedora-39-amd64.tar.gz +# Install toolchain run deps and memgraph build deps +SHELL ["/bin/bash", "-c"] +RUN git clone https://github.com/memgraph/memgraph.git \ + && cd memgraph \ + && ./environment/os/fedora-39.sh install TOOLCHAIN_RUN_DEPS \ + && ./environment/os/fedora-39.sh install MEMGRAPH_BUILD_DEPS \ + ENTRYPOINT ["sleep", "infinity"] diff --git a/release/package/rocky-9/Dockerfile b/release/package/rocky-9/Dockerfile index e50c83fbc..bad837250 100644 --- a/release/package/rocky-9/Dockerfile +++ b/release/package/rocky-9/Dockerfile @@ -13,4 +13,11 @@ RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-${TOOL && tar xzvf toolchain-${TOOLCHAIN_VERSION}-binaries-rocky-9.3-amd64.tar.gz -C /opt \ && rm toolchain-${TOOLCHAIN_VERSION}-binaries-rocky-9.3-amd64.tar.gz +# Install toolchain run deps and memgraph build deps +SHELL ["/bin/bash", "-c"] +RUN git clone https://github.com/memgraph/memgraph.git \ + && cd memgraph \ + && ./environment/os/rocky-9.sh install TOOLCHAIN_RUN_DEPS \ + && ./environment/os/rocky-9.sh install MEMGRAPH_BUILD_DEPS \ + ENTRYPOINT ["sleep", "infinity"] diff --git a/release/package/ubuntu-18.04/Dockerfile b/release/package/ubuntu-18.04/Dockerfile index 0bd15975a..1f7d2591d 100644 --- a/release/package/ubuntu-18.04/Dockerfile +++ b/release/package/ubuntu-18.04/Dockerfile @@ -15,4 +15,11 @@ RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-${TOOL && tar xzvf toolchain-${TOOLCHAIN_VERSION}-binaries-ubuntu-18.04-amd64.tar.gz -C /opt \ && rm toolchain-${TOOLCHAIN_VERSION}-binaries-ubuntu-18.04-amd64.tar.gz +# Install toolchain run deps and memgraph build deps +SHELL ["/bin/bash", "-c"] +RUN git clone https://github.com/memgraph/memgraph.git \ + && cd memgraph \ + && ./environment/os/ubuntu-18.04.sh install TOOLCHAIN_RUN_DEPS \ + && ./environment/os/ubuntu-18.04.sh install MEMGRAPH_BUILD_DEPS \ + ENTRYPOINT ["sleep", "infinity"] diff --git a/release/package/ubuntu-20.04/Dockerfile b/release/package/ubuntu-20.04/Dockerfile index b0903906e..f11b65a69 100644 --- a/release/package/ubuntu-20.04/Dockerfile +++ b/release/package/ubuntu-20.04/Dockerfile @@ -15,4 +15,11 @@ RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-${TOOL && tar xzvf toolchain-${TOOLCHAIN_VERSION}-binaries-ubuntu-20.04-amd64.tar.gz -C /opt \ && rm toolchain-${TOOLCHAIN_VERSION}-binaries-ubuntu-20.04-amd64.tar.gz +# Install toolchain run deps and memgraph build deps +SHELL ["/bin/bash", "-c"] +RUN git clone https://github.com/memgraph/memgraph.git \ + && cd memgraph \ + && ./environment/os/ubuntu-20.04.sh install TOOLCHAIN_RUN_DEPS \ + && ./environment/os/ubuntu-20.04.sh install MEMGRAPH_BUILD_DEPS \ + ENTRYPOINT ["sleep", "infinity"] diff --git a/release/package/ubuntu-22.04-arm/Dockerfile b/release/package/ubuntu-22.04-arm/Dockerfile index e7998233c..4ebade46a 100644 --- a/release/package/ubuntu-22.04-arm/Dockerfile +++ b/release/package/ubuntu-22.04-arm/Dockerfile @@ -15,4 +15,11 @@ RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-${TOOL && tar xzvf toolchain-${TOOLCHAIN_VERSION}-binaries-ubuntu-22.04-arm64.tar.gz -C /opt \ && rm toolchain-${TOOLCHAIN_VERSION}-binaries-ubuntu-22.04-arm64.tar.gz +# Install toolchain run deps and memgraph build deps +SHELL ["/bin/bash", "-c"] +RUN git clone https://github.com/memgraph/memgraph.git \ + && cd memgraph \ + && ./environment/os/ubuntu-22.04-arm.sh install TOOLCHAIN_RUN_DEPS \ + && ./environment/os/ubuntu-22.04-arm.sh install MEMGRAPH_BUILD_DEPS \ + ENTRYPOINT ["sleep", "infinity"] diff --git a/release/package/ubuntu-22.04/Dockerfile b/release/package/ubuntu-22.04/Dockerfile index 429ea5bd3..2183b6683 100644 --- a/release/package/ubuntu-22.04/Dockerfile +++ b/release/package/ubuntu-22.04/Dockerfile @@ -15,4 +15,11 @@ RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-${TOOL && tar xzvf toolchain-${TOOLCHAIN_VERSION}-binaries-ubuntu-22.04-amd64.tar.gz -C /opt \ && rm toolchain-${TOOLCHAIN_VERSION}-binaries-ubuntu-22.04-amd64.tar.gz +# Install toolchain run deps and memgraph build deps +SHELL ["/bin/bash", "-c"] +RUN git clone https://github.com/memgraph/memgraph.git \ + && cd memgraph \ + && ./environment/os/ubuntu-22.04.sh install TOOLCHAIN_RUN_DEPS \ + && ./environment/os/ubuntu-22.04.sh install MEMGRAPH_BUILD_DEPS \ + ENTRYPOINT ["sleep", "infinity"]