Skip to content

Commit 68ae5a9

Browse files
committed
refactor: simplify Docker setup with public images
- Replace private kurtfm image with official redislabs/redis image - Simplify docker-compose.yml to essential services only - Remove Makefile in favor of direct docker-compose commands - Update Dockerfile to build unified redisctl binary with Rust 1.89 - Remove CLAUDE.md and add to .gitignore - Update README with simplified Docker instructions
1 parent 689a4a0 commit 68ae5a9

File tree

6 files changed

+36
-558
lines changed

6 files changed

+36
-558
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ dump.rdb
3333

3434
# Claude
3535
.claude/
36+
CLAUDE.md

CLAUDE.md

Lines changed: 0 additions & 198 deletions
This file was deleted.

Dockerfile

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Redis Enterprise CLI Docker Image
1+
# Redis CLI Docker Image
22
# Multi-stage build for optimal size
33

4-
FROM rust:1.82 AS builder
4+
FROM rust:1.89 AS builder
55

66
WORKDIR /build
77

@@ -10,7 +10,7 @@ COPY Cargo.toml Cargo.lock ./
1010
COPY crates/ ./crates/
1111

1212
# Build release binary
13-
RUN cargo build --release --bin redis-enterprise
13+
RUN cargo build --release --bin redisctl
1414

1515
# Runtime stage - minimal debian image
1616
FROM debian:bookworm-slim
@@ -22,11 +22,11 @@ RUN apt-get update && apt-get install -y \
2222
&& rm -rf /var/lib/apt/lists/*
2323

2424
# Copy binary from builder
25-
COPY --from=builder /build/target/release/redis-enterprise /usr/local/bin/redis-enterprise
25+
COPY --from=builder /build/target/release/redisctl /usr/local/bin/redisctl
2626

2727
# Create non-root user
2828
RUN useradd -m -u 1000 redis && \
29-
mkdir -p /home/redis/.config/redis-enterprise && \
29+
mkdir -p /home/redis/.config/redisctl && \
3030
chown -R redis:redis /home/redis
3131

3232
USER redis
@@ -36,6 +36,8 @@ WORKDIR /home/redis
3636
ENV REDIS_ENTERPRISE_URL=""
3737
ENV REDIS_ENTERPRISE_USER=""
3838
ENV REDIS_ENTERPRISE_PASSWORD=""
39+
ENV REDIS_CLOUD_API_KEY=""
40+
ENV REDIS_CLOUD_SECRET_KEY=""
3941

40-
ENTRYPOINT ["redis-enterprise"]
42+
ENTRYPOINT ["redisctl"]
4143
CMD ["--help"]

0 commit comments

Comments
 (0)