Skip to content

Commit

Permalink
Add 2.4.2
Browse files Browse the repository at this point in the history
Signed-off-by: Gabor Boros <[email protected]>
  • Loading branch information
gabor-boros committed May 2, 2022
1 parent a7f9d80 commit 4f89aed
Show file tree
Hide file tree
Showing 15 changed files with 331 additions and 8 deletions.
22 changes: 22 additions & 0 deletions alma8/2.4.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM almalinux:8

ENV RETHINKDB_PACKAGE_VERSION 2.4.2

RUN echo $'[rethinkdb]\n\
name=RethinkDB\n\
enabled=1\n\
baseurl=https://download.rethinkdb.com/repository/alma/8/x86_64/\n\
gpgkey=https://download.rethinkdb.com/repository/raw/pubkey.gpg\n\
gpgcheck=1\n' >> /etc/yum.repos.d/rethinkdb.repo

RUN yum install -y rethinkdb-$RETHINKDB_PACKAGE_VERSION \
&& yum clean all

VOLUME ["/data"]

WORKDIR /data

CMD ["rethinkdb", "--bind", "all"]

# process cluster webui
EXPOSE 28015 29015 8080
23 changes: 23 additions & 0 deletions bionic/2.4.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM ubuntu:bionic

RUN apt-get -qqy update \
&& apt-get install -y --no-install-recommends ca-certificates gnupg2 \
&& rm -rf /var/lib/apt/lists/*

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys "539A3A8C6692E6E3F69B3FE81D85E93F801BB43F" \
&& echo "deb https://download.rethinkdb.com/repository/ubuntu-bionic bionic main" > /etc/apt/sources.list.d/rethinkdb.list

ENV RETHINKDB_PACKAGE_VERSION 2.4.2~0bionic

RUN apt-get -qqy update \
&& apt-get install -y rethinkdb=$RETHINKDB_PACKAGE_VERSION \
&& rm -rf /var/lib/apt/lists/*

VOLUME ["/data"]

WORKDIR /data

CMD ["rethinkdb", "--bind", "all"]

# process cluster webui
EXPOSE 28015 29015 8080
24 changes: 24 additions & 0 deletions bullseye/2.4.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FROM debian:bullseye-slim

RUN apt-get -qqy update \
&& apt-get install -y --no-install-recommends ca-certificates gnupg2 curl \
&& rm -rf /var/lib/apt/lists/*

RUN curl -fsSL https://download.rethinkdb.com/repository/raw/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/rethinkdb.gpg | gpg --armor \
&& echo "deb [signed-by=/usr/share/keyrings/rethinkdb.gpg] https://download.rethinkdb.com/repository/debian-bullseye bullseye main" > /etc/apt/sources.list.d/rethinkdb.list

ENV RETHINKDB_PACKAGE_VERSION 2.4.2~0bullseye

RUN apt-get -qqy update \
&& apt-get install -y rethinkdb=$RETHINKDB_PACKAGE_VERSION \
&& rm -rf /var/lib/apt/lists/*

VOLUME ["/data"]

WORKDIR /data

CMD ["rethinkdb", "--bind", "all"]

# process cluster webui
EXPOSE 28015 29015 8080

23 changes: 23 additions & 0 deletions buster/2.4.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM debian:buster-slim

RUN apt-get -qqy update \
&& apt-get install -y --no-install-recommends ca-certificates gnupg2 \
&& rm -rf /var/lib/apt/lists/*

RUN apt-key adv --keyserver pgp.mit.edu --recv-keys "539A3A8C6692E6E3F69B3FE81D85E93F801BB43F" \
&& echo "deb https://download.rethinkdb.com/repository/debian-buster buster main" > /etc/apt/sources.list.d/rethinkdb.list

ENV RETHINKDB_PACKAGE_VERSION 2.4.2~0buster

RUN apt-get -qqy update \
&& apt-get install -y rethinkdb=$RETHINKDB_PACKAGE_VERSION \
&& rm -rf /var/lib/apt/lists/*

VOLUME ["/data"]

WORKDIR /data

CMD ["rethinkdb", "--bind", "all"]

# process cluster webui
EXPOSE 28015 29015 8080
22 changes: 22 additions & 0 deletions centos7/2.4.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM centos:7

ENV RETHINKDB_PACKAGE_VERSION 2.4.2

RUN echo $'[rethinkdb]\n\
name=RethinkDB\n\
enabled=1\n\
baseurl=https://download.rethinkdb.com/repository/centos/7/x86_64/\n\
gpgkey=https://download.rethinkdb.com/repository/raw/pubkey.gpg\n\
gpgcheck=1\n' >> /etc/yum.repos.d/rethinkdb.repo

RUN yum install -y rethinkdb-$RETHINKDB_PACKAGE_VERSION \
&& yum clean all

VOLUME ["/data"]

WORKDIR /data

CMD ["rethinkdb", "--bind", "all"]

# process cluster webui
EXPOSE 28015 29015 8080
15 changes: 7 additions & 8 deletions cut-new-release.sh
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
#! /usr/bin/env bash

BASE_VERSION=2.4.0
BASE_VERSION=2.4.2
NEW_VERSION=$1
SUFFIX=$2

# packages for them to downloads.rethinkdb.com
DISTROS="focal xenial bionic disco eoan centos7 centos8 jessie stretch buster trusty"
DISTROS="alma8 bionic bullseye buster centos7 focal hirsute impish jammy jessie rocky8 stretch trusty xenial"

function bootstrap_and_build {
for DISTRO in $DISTROS; do
if [ -d "$DISTRO/$NEW_VERSION" ]; then
if [ -d "$DISTRO/$NEW_VERSION" ]; then
echo "$DISTRO/$NEW_VERSION already exists... Skipping Dockerfile bootstrap"
elif [ -f "$DISTRO/$BASE_VERSION/Dockerfile" ]; then
mkdir "./$DISTRO/$NEW_VERSION"
sed -e "s/$BASE_VERSION/$NEW_VERSION$SUFFIX/" "./$DISTRO/$BASE_VERSION/Dockerfile" \
>"./$DISTRO/$NEW_VERSION/Dockerfile"
sed -e "s/$BASE_VERSION/$NEW_VERSION$SUFFIX/" "./$DISTRO/$BASE_VERSION/Dockerfile" > "./$DISTRO/$NEW_VERSION/Dockerfile"
fi

docker build --no-cache -t rethinkdb:$DISTRO-$NEW_VERSION$SUFFIX $DISTRO/$NEW_VERSION$SUFFIX
docker build --no-cache -t "rethinkdb:$DISTRO-$NEW_VERSION$SUFFIX" "$DISTRO/$NEW_VERSION$SUFFIX"
done
}

Expand All @@ -28,9 +27,9 @@ function commit_and_tag {
}

if [[ -z "$1" ]]; then
echo "cut-NEW_VERSION-release: tag not specified" >&2
echo "cut-new-release: tag not specified" >&2
exit 1
fi

bootstrap_and_build;
# bootstrap_and_build;
commit_and_tag;
23 changes: 23 additions & 0 deletions focal/2.4.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM ubuntu:focal

RUN apt-get -qqy update \
&& apt-get install -y --no-install-recommends ca-certificates gnupg2 \
&& rm -rf /var/lib/apt/lists/*

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys "539A3A8C6692E6E3F69B3FE81D85E93F801BB43F" \
&& echo "deb https://download.rethinkdb.com/repository/ubuntu-focal focal main" > /etc/apt/sources.list.d/rethinkdb.list

ENV RETHINKDB_PACKAGE_VERSION 2.4.2~0focal

RUN apt-get -qqy update \
&& apt-get install -y rethinkdb=$RETHINKDB_PACKAGE_VERSION \
&& rm -rf /var/lib/apt/lists/*

VOLUME ["/data"]

WORKDIR /data

CMD ["rethinkdb", "--bind", "all"]

# process cluster webui
EXPOSE 28015 29015 8080
24 changes: 24 additions & 0 deletions hirsute/2.4.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FROM ubuntu:hirsute

RUN apt-get -qqy update \
&& apt-get install -y --no-install-recommends curl ca-certificates gnupg2 \
&& rm -rf /var/lib/apt/lists/*

RUN curl -fsSL https://download.rethinkdb.com/repository/raw/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/rethinkdb.gpg | gpg --armor \
&& echo "deb [signed-by=/usr/share/keyrings/rethinkdb.gpg] https://download.rethinkdb.com/repository/ubuntu-hirsute hirsute main" > /etc/apt/sources.list.d/rethinkdb.list

ENV RETHINKDB_PACKAGE_VERSION 2.4.2~0hirsute

RUN apt-get -qqy update \
&& apt-get install -y rethinkdb=$RETHINKDB_PACKAGE_VERSION \
&& rm -rf /var/lib/apt/lists/*

VOLUME ["/data"]

WORKDIR /data

CMD ["rethinkdb", "--bind", "all"]

# process cluster webui
EXPOSE 28015 29015 8080

24 changes: 24 additions & 0 deletions impish/2.4.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FROM ubuntu:impish

RUN apt-get -qqy update \
&& apt-get install -y --no-install-recommends curl ca-certificates gnupg2 \
&& rm -rf /var/lib/apt/lists/*

RUN curl -fsSL https://download.rethinkdb.com/repository/raw/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/rethinkdb.gpg | gpg --armor \
&& echo "deb [signed-by=/usr/share/keyrings/rethinkdb.gpg] https://download.rethinkdb.com/repository/ubuntu-impish impish main" > /etc/apt/sources.list.d/rethinkdb.list

ENV RETHINKDB_PACKAGE_VERSION 2.4.2~0impish

RUN apt-get -qqy update \
&& apt-get install -y rethinkdb=$RETHINKDB_PACKAGE_VERSION \
&& rm -rf /var/lib/apt/lists/*

VOLUME ["/data"]

WORKDIR /data

CMD ["rethinkdb", "--bind", "all"]

# process cluster webui
EXPOSE 28015 29015 8080

24 changes: 24 additions & 0 deletions jammy/2.4.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FROM ubuntu:jammy

RUN apt-get -qqy update \
&& apt-get install -y --no-install-recommends curl ca-certificates gnupg2 \
&& rm -rf /var/lib/apt/lists/*

RUN curl -fsSL https://download.rethinkdb.com/repository/raw/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/rethinkdb.gpg | gpg --armor \
&& echo "deb [signed-by=/usr/share/keyrings/rethinkdb.gpg] https://download.rethinkdb.com/repository/ubuntu-jammy jammy main" > /etc/apt/sources.list.d/rethinkdb.list

ENV RETHINKDB_PACKAGE_VERSION 2.4.2~0jammy

RUN apt-get -qqy update \
&& apt-get install -y rethinkdb=$RETHINKDB_PACKAGE_VERSION \
&& rm -rf /var/lib/apt/lists/*

VOLUME ["/data"]

WORKDIR /data

CMD ["rethinkdb", "--bind", "all"]

# process cluster webui
EXPOSE 28015 29015 8080

24 changes: 24 additions & 0 deletions jessie/2.4.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FROM debian:jessie-slim

RUN apt-get -qqy update \
&& apt-get install -y --no-install-recommends apt-transport-https ca-certificates gnupg2 \
&& rm -rf /var/lib/apt/lists/*

RUN apt-key adv --keyserver pgp.mit.edu --recv-keys "539A3A8C6692E6E3F69B3FE81D85E93F801BB43F" \
&& echo "deb https://download.rethinkdb.com/repository/debian-jessie jessie main" > /etc/apt/sources.list.d/rethinkdb.list

ENV RETHINKDB_PACKAGE_VERSION 2.4.2~0jessie

RUN apt-get -qqy update \
&& apt-get install -y rethinkdb=$RETHINKDB_PACKAGE_VERSION \
&& rm -rf /var/lib/apt/lists/*

VOLUME ["/data"]

WORKDIR /data

CMD ["rethinkdb", "--bind", "all"]

# process cluster webui
EXPOSE 28015 29015 8080

22 changes: 22 additions & 0 deletions rocky8/2.4.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM rockylinux:8

ENV RETHINKDB_PACKAGE_VERSION 2.4.2

RUN echo $'[rethinkdb]\n\
name=RethinkDB\n\
enabled=1\n\
baseurl=https://download.rethinkdb.com/repository/rocky/8/x86_64/\n\
gpgkey=https://download.rethinkdb.com/repository/raw/pubkey.gpg\n\
gpgcheck=1\n' >> /etc/yum.repos.d/rethinkdb.repo

RUN yum install -y rethinkdb-$RETHINKDB_PACKAGE_VERSION \
&& yum clean all

VOLUME ["/data"]

WORKDIR /data

CMD ["rethinkdb", "--bind", "all"]

# process cluster webui
EXPOSE 28015 29015 8080
23 changes: 23 additions & 0 deletions stretch/2.4.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM debian:stretch-slim

RUN apt-get -qqy update \
&& apt-get install -y --no-install-recommends apt-transport-https dirmngr ca-certificates gnupg2 \
&& rm -rf /var/lib/apt/lists/*

RUN apt-key adv --keyserver pgp.mit.edu --recv-keys "539A3A8C6692E6E3F69B3FE81D85E93F801BB43F" \
&& echo "deb https://download.rethinkdb.com/repository/debian-stretch stretch main" > /etc/apt/sources.list.d/rethinkdb.list

ENV RETHINKDB_PACKAGE_VERSION 2.4.2~0stretch

RUN apt-get -qqy update \
&& apt-get install -y rethinkdb=$RETHINKDB_PACKAGE_VERSION \
&& rm -rf /var/lib/apt/lists/*

VOLUME ["/data"]

WORKDIR /data

CMD ["rethinkdb", "--bind", "all"]

# process cluster webui
EXPOSE 28015 29015 8080
23 changes: 23 additions & 0 deletions trusty/2.4.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM ubuntu:trusty

RUN apt-get -qqy update \
&& apt-get install -y --no-install-recommends apt-transport-https ca-certificates gnupg2 \
&& rm -rf /var/lib/apt/lists/*

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys "539A3A8C6692E6E3F69B3FE81D85E93F801BB43F" \
&& echo "deb https://download.rethinkdb.com/repository/ubuntu-trusty trusty main" > /etc/apt/sources.list.d/rethinkdb.list

ENV RETHINKDB_PACKAGE_VERSION 2.4.2~0trusty

RUN apt-get -qqy update \
&& apt-get install -y rethinkdb=$RETHINKDB_PACKAGE_VERSION \
&& rm -rf /var/lib/apt/lists/*

VOLUME ["/data"]

WORKDIR /data

CMD ["rethinkdb", "--bind", "all"]

# process cluster webui
EXPOSE 28015 29015 8080
23 changes: 23 additions & 0 deletions xenial/2.4.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM ubuntu:xenial

RUN apt-get -qqy update \
&& apt-get install -y --no-install-recommends apt-transport-https ca-certificates gnupg2 \
&& rm -rf /var/lib/apt/lists/*

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys "539A3A8C6692E6E3F69B3FE81D85E93F801BB43F" \
&& echo "deb https://download.rethinkdb.com/repository/ubuntu-xenial xenial main" > /etc/apt/sources.list.d/rethinkdb.list

ENV RETHINKDB_PACKAGE_VERSION 2.4.2~0xenial

RUN apt-get -qqy update \
&& apt-get install -y rethinkdb=$RETHINKDB_PACKAGE_VERSION \
&& rm -rf /var/lib/apt/lists/*

VOLUME ["/data"]

WORKDIR /data

CMD ["rethinkdb", "--bind", "all"]

# process cluster webui
EXPOSE 28015 29015 8080

0 comments on commit 4f89aed

Please sign in to comment.