Add fedora 38, 39 and rockylinux 9.3 mgbuilder Dockerfiles

This commit is contained in:
Deda 2024-02-22 15:52:09 +01:00
parent 32e11ad12c
commit d896a088e5
3 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,16 @@
FROM fedora:38
ARG TOOLCHAIN_VERSION
# Stops tzdata interactive configuration.
RUN yum -y update \
&& yum install -y wget git
# Do NOT be smart here and clean the cache because the container is used in the
# stateful context.
RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/${TOOLCHAIN_VERSION}/${TOOLCHAIN_VERSION}-binaries-fedora-38-x86_64.tar.gz \
-O ${TOOLCHAIN_VERSION}-binaries-fedora-38-x86_64.tar.gz \
&& tar xzvf ${TOOLCHAIN_VERSION}-binaries-fedora-38-x86_64.tar.gz -C /opt \
&& rm ${TOOLCHAIN_VERSION}-binaries-fedora-38-x86_64.tar.gz
ENTRYPOINT ["sleep", "infinity"]

View File

@ -0,0 +1,16 @@
FROM fedora:39
ARG TOOLCHAIN_VERSION
# Stops tzdata interactive configuration.
RUN yum -y update \
&& yum install -y wget git
# Do NOT be smart here and clean the cache because the container is used in the
# stateful context.
RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/${TOOLCHAIN_VERSION}/${TOOLCHAIN_VERSION}-binaries-fedora-39-x86_64.tar.gz \
-O ${TOOLCHAIN_VERSION}-binaries-fedora-39-x86_64.tar.gz \
&& tar xzvf ${TOOLCHAIN_VERSION}-binaries-fedora-39-x86_64.tar.gz -C /opt \
&& rm ${TOOLCHAIN_VERSION}-binaries-fedora-39-x86_64.tar.gz
ENTRYPOINT ["sleep", "infinity"]

View File

@ -0,0 +1,16 @@
FROM rockylinux:9.3
ARG TOOLCHAIN_VERSION
# Stops tzdata interactive configuration.
RUN yum -y update \
&& yum install -y wget git
# Do NOT be smart here and clean the cache because the container is used in the
# stateful context.
RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/${TOOLCHAIN_VERSION}/${TOOLCHAIN_VERSION}-binaries-rocky-9.3-x86_64.tar.gz \
-O ${TOOLCHAIN_VERSION}-binaries-rocky-9.3-x86_64.tar.gz \
&& tar xzvf ${TOOLCHAIN_VERSION}-binaries-rocky-9.3-x86_64.tar.gz -C /opt \
&& rm ${TOOLCHAIN_VERSION}-binaries-rocky-9.3-x86_64.tar.gz
ENTRYPOINT ["sleep", "infinity"]