Skip to content

Commit fa7bfd5

Browse files
roshkhatrigithub-actions[bot]Nikhil-Manglore
authored
Release Valkey Bundle 9.0.0-rc1(#50)
Signed-off-by: Roshan Khatri <rvkhatri@amazon.com> Signed-off-by: Nikhil Manglore <nmanglor@amazon.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Nikhil Manglore <nmanglor@amazon.com>
1 parent 8ec332c commit fa7bfd5

File tree

7 files changed

+305
-2
lines changed

7 files changed

+305
-2
lines changed

00-RELEASENOTES

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,46 @@
1-
Valkey Bundle 8.1 Release Notes
1+
Valkey Bundle Release Notes
22
================================================================================
33

44
Overview
55
===========================
66
* valkey-bundle is a containerized version of valkey, enhanced with popular modules for advanced data structures and additional search capabilities.
77
* This image is built on top of the official valkey base image and includes pre-installed modules for simplified deployment.
88

9+
================================================================================
10+
Valkey Bundle 9.0.0-rc1 - Released Fri 22 Aug 2025
11+
================================================================================
12+
13+
Core Components
14+
===========================
15+
* Base Debian Image: valkey/valkey:9.0.0-rc1-bookworm
16+
* Base Alpine Image: valkey/valkey:9.0.0-rc1-alpine
17+
* valkey - 9.0.0-rc1
18+
* valkey-json - 1.0.1
19+
* valkey-bloom - 1.0.0
20+
* valkey-search - 1.0.1
21+
* valkey-ldap - 1.0.0
22+
23+
Supported Tags and Platforms
24+
===========================
25+
Supported Debian Tags:
26+
* 9.0.0-rc1
27+
* 9.0-rc1
28+
* 9.0.0-rc1-trixie
29+
* 9.0-rc1-trixie
30+
31+
Supported Alpine Tags:
32+
* 9.0.0-rc1-alpine
33+
* 9.0-rc1-alpine
34+
35+
Platform Support:
36+
===========================
37+
* linux/amd64
38+
* linux/arm64
39+
40+
Key Changes
41+
===========================
42+
Check the [Valkey 9.0.0](https://github.com/valkey-io/valkey/blob/9.0/00-RELEASENOTES) release notes to see all the changes for Valkey Bundle 9.0.0-rc1
43+
944
================================================================================
1045
Valkey Bundle 8.1.1 - Released Thu 21 Aug 2025
1146
================================================================================

9.0/alpine/Dockerfile

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
7+
FROM docker.io/valkey/valkey:9.0.0-rc1-alpine AS build
8+
9+
ARG SERVER_VERSION=9.0.0-rc1
10+
11+
RUN set -eux; \
12+
apk add --no-cache \
13+
ca-certificates \
14+
build-base \
15+
cmake \
16+
git \
17+
curl \
18+
clang \
19+
clang19-dev \
20+
gtest-dev \
21+
ninja-build \
22+
ninja-is-really-ninja \
23+
openssl-dev \
24+
clang19-extra-tools \
25+
linux-headers \
26+
bash \
27+
pkgconfig \
28+
;\
29+
update-ca-certificates; \
30+
ln -s /usr/lib/ninja-build/bin/ninja /usr/bin/ninja-build;
31+
32+
# Install Rust
33+
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y;
34+
ENV PATH="/root/.cargo/bin:${PATH}"
35+
36+
WORKDIR /opt
37+
38+
# Clone repositories
39+
RUN set -eux; \
40+
git clone --depth 1 --branch 1.0.1 https://github.com/valkey-io/valkey-json.git; \
41+
git clone --depth 1 --branch 1.0.0 https://github.com/valkey-io/valkey-bloom.git; \
42+
git clone --depth 1 --branch 1.0.1 https://github.com/valkey-io/valkey-search.git; \
43+
git clone --depth 1 --branch 1.0.0 https://github.com/valkey-io/valkey-ldap.git;
44+
45+
# Build JSON module
46+
WORKDIR /opt/valkey-json
47+
RUN set -eux; \
48+
./build.sh --release
49+
50+
# Build Bloom module
51+
WORKDIR /opt/valkey-bloom
52+
RUN RUSTFLAGS="-C target-feature=-crt-static" cargo build --all --all-targets --release;
53+
54+
# Build Search module
55+
WORKDIR /opt/valkey-search
56+
RUN set -eux; \
57+
./build.sh
58+
59+
# Build LDAP module
60+
WORKDIR /opt/valkey-ldap
61+
RUN RUSTFLAGS="-C target-feature=-crt-static" cargo build --all --all-targets --release;
62+
63+
FROM docker.io/valkey/valkey:9.0.0-rc1-alpine
64+
65+
RUN set -eux; \
66+
apk add --no-cache libstdc++; \
67+
mkdir -p /usr/lib/valkey;
68+
69+
# Copy built modules from the build stage
70+
COPY --from=build /opt/valkey-json/build/src/libjson.so /usr/lib/valkey/libjson.so
71+
COPY --from=build /opt/valkey-bloom/target/release/libvalkey_bloom.so /usr/lib/valkey/libvalkey_bloom.so
72+
COPY --from=build /opt/valkey-search/.build-release/libsearch.so /usr/lib/valkey/libsearch.so
73+
COPY --from=build /opt/valkey-ldap/target/release/libvalkey_ldap.so /usr/lib/valkey/libvalkey_ldap.so
74+
75+
COPY bundle-docker-entrypoint.sh /usr/local/bin/
76+
ENTRYPOINT ["bundle-docker-entrypoint.sh"]
77+
78+
EXPOSE 6379
79+
CMD ["valkey-server"]
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#!/bin/sh
2+
set -e
3+
4+
MODULE_DIR="/usr/lib/valkey"
5+
MODULE_ARGS=""
6+
7+
# Auto-discover and append all .so modules in MODULE_DIR
8+
for module in "$MODULE_DIR"/*.so; do
9+
if [ -f "$module" ]; then
10+
MODULE_ARGS="$MODULE_ARGS --loadmodule $module"
11+
fi
12+
done
13+
14+
# Optional: Add extra flags via env var (e.g., logging, maxmemory, etc.)
15+
EXTRA_ARGS="${VALKEY_EXTRA_FLAGS:-}"
16+
17+
# If explicitly calling valkey-server and running as root, drop privileges
18+
if [ "$1" = 'valkey-server' ] && [ "$(id -u)" = '0' ]; then
19+
find . \! -user valkey -exec chown valkey '{}' +
20+
exec setpriv --reuid=valkey --regid=valkey --clear-groups -- "$0" "$@"
21+
fi
22+
23+
# Set a restrictive umask if not already set
24+
um="$(umask)"
25+
if [ "$um" = '0022' ]; then
26+
umask 0077
27+
fi
28+
29+
# first arg is `-f` or `--some-option`
30+
# or first arg is `something.conf`
31+
if [ "${1#-}" != "$1" ] || [ "${1%.conf}" != "$1" ]; then
32+
set -- valkey-server "$@"
33+
fi
34+
35+
# If explicitly calling valkey-server, append modules and extra args
36+
if [ "$1" = "valkey-server" ]; then
37+
shift
38+
exec valkey-server "$@" $MODULE_ARGS $EXTRA_ARGS
39+
fi
40+
41+
# Else, run the provided command (e.g., bash)
42+
exec "$@" $VALKEY_EXTRA_FLAGS

9.0/debian/Dockerfile

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
7+
FROM docker.io/valkey/valkey:9.0.0-rc1-trixie AS build
8+
9+
ARG SERVER_VERSION=9.0.0-rc1
10+
11+
RUN set -eux; \
12+
\
13+
apt-get update; \
14+
apt-get install -y --no-install-recommends \
15+
ca-certificates \
16+
build-essential \
17+
cmake \
18+
git \
19+
curl \
20+
clang \
21+
clangd \
22+
g++ \
23+
libgtest-dev \
24+
ninja-build \
25+
libssl-dev \
26+
clang-tidy \
27+
clang-format \
28+
libsystemd-dev \
29+
pkg-config \
30+
;\
31+
apt-get clean && rm -rf /var/lib/apt/lists/* ;
32+
33+
# Install Rust
34+
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y;
35+
ENV PATH="/root/.cargo/bin:${PATH}"
36+
37+
WORKDIR /opt
38+
39+
# Clone repositories
40+
RUN set -eux; \
41+
git clone --depth 1 --branch 1.0.1 https://github.com/valkey-io/valkey-json.git; \
42+
git clone --depth 1 --branch 1.0.0 https://github.com/valkey-io/valkey-bloom.git; \
43+
git clone --depth 1 --branch 1.0.1 https://github.com/valkey-io/valkey-search.git; \
44+
git clone --depth 1 --branch 1.0.0 https://github.com/valkey-io/valkey-ldap.git;
45+
46+
# Build JSON module
47+
WORKDIR /opt/valkey-json
48+
RUN set -eux; \
49+
./build.sh --release
50+
51+
# Build Bloom module
52+
WORKDIR /opt/valkey-bloom
53+
RUN cargo build --all --all-targets --release;
54+
55+
# Build Search module
56+
WORKDIR /opt/valkey-search
57+
RUN set -eux; \
58+
./build.sh
59+
60+
# Build LDAP module
61+
WORKDIR /opt/valkey-ldap
62+
RUN cargo build --all --all-targets --release;
63+
64+
FROM docker.io/valkey/valkey:9.0.0-rc1-trixie
65+
66+
RUN mkdir -p /usr/lib/valkey;
67+
68+
# Copy built modules from the build stage
69+
COPY --from=build /opt/valkey-json/build/src/libjson.so /usr/lib/valkey/libjson.so
70+
COPY --from=build /opt/valkey-bloom/target/release/libvalkey_bloom.so /usr/lib/valkey/libvalkey_bloom.so
71+
COPY --from=build /opt/valkey-search/.build-release/libsearch.so /usr/lib/valkey/libsearch.so
72+
COPY --from=build /opt/valkey-ldap/target/release/libvalkey_ldap.so /usr/lib/valkey/libvalkey_ldap.so
73+
74+
COPY bundle-docker-entrypoint.sh /usr/local/bin/
75+
ENTRYPOINT ["bundle-docker-entrypoint.sh"]
76+
77+
EXPOSE 6379
78+
CMD ["valkey-server"]
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#!/bin/sh
2+
set -e
3+
4+
MODULE_DIR="/usr/lib/valkey"
5+
MODULE_ARGS=""
6+
7+
# Auto-discover and append all .so modules in MODULE_DIR
8+
for module in "$MODULE_DIR"/*.so; do
9+
if [ -f "$module" ]; then
10+
MODULE_ARGS="$MODULE_ARGS --loadmodule $module"
11+
fi
12+
done
13+
14+
# Optional: Add extra flags via env var (e.g., logging, maxmemory, etc.)
15+
EXTRA_ARGS="${VALKEY_EXTRA_FLAGS:-}"
16+
17+
# If explicitly calling valkey-server and running as root, drop privileges
18+
if [ "$1" = 'valkey-server' ] && [ "$(id -u)" = '0' ]; then
19+
find . \! -user valkey -exec chown valkey '{}' +
20+
exec setpriv --reuid=valkey --regid=valkey --clear-groups -- "$0" "$@"
21+
fi
22+
23+
# Set a restrictive umask if not already set
24+
um="$(umask)"
25+
if [ "$um" = '0022' ]; then
26+
umask 0077
27+
fi
28+
29+
# first arg is `-f` or `--some-option`
30+
# or first arg is `something.conf`
31+
if [ "${1#-}" != "$1" ] || [ "${1%.conf}" != "$1" ]; then
32+
set -- valkey-server "$@"
33+
fi
34+
35+
# If explicitly calling valkey-server, append modules and extra args
36+
if [ "$1" = "valkey-server" ]; then
37+
shift
38+
exec valkey-server "$@" $MODULE_ARGS $EXTRA_ARGS
39+
fi
40+
41+
# Else, run the provided command (e.g., bash)
42+
exec "$@" $VALKEY_EXTRA_FLAGS

dockerhub-description.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## This file is auto-generated by the Valkey Bundle Update workflow
2-
Last updated: 2025-08-21
2+
Last updated: 2025-08-22
33

44
# Quick reference
55

@@ -15,6 +15,9 @@ Last updated: 2025-08-21
1515
## Official releases
1616
- [`8.1.1`, `8.1`, `8`, `latest`, `8.1.1-bookworm`, `8.1-bookworm`, `8-bookworm`, `bookworm`](https://github.com/valkey-io/valkey-bundle/blob/mainline/8.1/debian/Dockerfile)
1717
- [`8.1.1-alpine`, `8.1-alpine`, `8-alpine`, `alpine`](https://github.com/valkey-io/valkey-bundle/blob/mainline/8.1/alpine/Dockerfile)
18+
## Release candidates
19+
- [`9.0.0-rc1`, `9.0-rc1`, `9.0.0-rc1-trixie`, `9.0-rc1-trixie`](https://github.com/valkey-io/valkey-bundle/blob/mainline/9.0/debian/Dockerfile)
20+
- [`9.0.0-rc1-alpine`, `9.0-rc1-alpine`](https://github.com/valkey-io/valkey-bundle/blob/mainline/9.0/alpine/Dockerfile)
1821

1922
## What is [Valkey Bundle](https://github.com/valkey-io/valkey-bundle)?
2023
--------------
@@ -26,6 +29,7 @@ This image is built on top of the official Valkey base image and simplifies depl
2629

2730
| valkey-bundle | valkey | valkey-json | valkey-bloom | valkey-search | valkey-ldap |
2831
|-------------------------|-------------|-------------|--------------|---------------|---------------|
32+
| [9.0.0-rc1](https://github.com/valkey-io/valkey-bundle/releases/tag/9.0.0-rc1) |[9.0.0-rc1](https://github.com/valkey-io/valkey/releases/tag/9.0.0-rc1) | [1.0.1](https://github.com/valkey-io/valkey-json/releases/tag/1.0.1)| [1.0.0](https://github.com/valkey-io/valkey-bloom/releases/tag/1.0.0)| [1.0.1](https://github.com/valkey-io/valkey-search/releases/tag/1.0.1) | [1.0.0](https://github.com/valkey-io/valkey-ldap/releases/tag/1.0.0) |
2933
| [8.1.1](https://github.com/valkey-io/valkey-bundle/releases/tag/8.1.1) |[8.1.3](https://github.com/valkey-io/valkey/releases/tag/8.1.3) | [1.0.1](https://github.com/valkey-io/valkey-json/releases/tag/1.0.1)| [1.0.0](https://github.com/valkey-io/valkey-bloom/releases/tag/1.0.0)| [1.0.1](https://github.com/valkey-io/valkey-search/releases/tag/1.0.1) | [1.0.0](https://github.com/valkey-io/valkey-ldap/releases/tag/1.0.0) |
3034

3135

versions.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,28 @@
2121
"debian": {
2222
"version": "bookworm"
2323
}
24+
},
25+
"9.0": {
26+
"version": "9.0.0-rc1",
27+
"valkey-server": {
28+
"version": "9.0.0-rc1"
29+
},
30+
"modules": {
31+
"valkey-json": {
32+
"version": "1.0.1"
33+
},
34+
"valkey-bloom": {
35+
"version": "1.0.0"
36+
},
37+
"valkey-search": {
38+
"version": "1.0.1"
39+
},
40+
"valkey-ldap": {
41+
"version": "1.0.0"
42+
}
43+
},
44+
"debian": {
45+
"version": "trixie"
46+
}
2447
}
2548
}

0 commit comments

Comments
 (0)