File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Use the Amazon Linux-based AWS CLI image
2
2
FROM amazonlinux:latest
3
3
4
- # Install the AWS CLI and other necessary tools
4
+ # Install the AWS CLI, Redis CLI with TLS support, and other necessary tools
5
5
RUN yum update -y && \
6
- yum install -y aws-cli nc nano vim jq && \
6
+ yum install -y aws-cli nc nano vim jq gcc make openssl-devel tar gzip && \
7
7
yum clean all
8
8
9
+ # Install Redis CLI with TLS support
10
+ RUN curl -L https://download.redis.io/releases/redis-7.4.4.tar.gz -o redis.tar.gz && \
11
+ tar xzf redis.tar.gz && \
12
+ cd redis-7.4.4 && \
13
+ make BUILD_TLS=yes && \
14
+ cp src/redis-cli /usr/local/bin/ && \
15
+ cd .. && \
16
+ rm -rf redis-7.4.4 redis.tar.gz
17
+
9
18
RUN dnf update -y
10
19
RUN dnf install mariadb105 -y
11
20
You can’t perform that action at this time.
0 commit comments