File tree Expand file tree Collapse file tree 4 files changed +17
-6
lines changed Expand file tree Collapse file tree 4 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ ENV VERSION=${VERSION}
8
8
COPY ./Makefile /
9
9
10
10
RUN set -eux; \
11
- # sed -i -e 's/http/https/g' /etc/apt/sources.list ; \
11
+ sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \
12
+ sed -i -e 's/security.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \
13
+ sed -i -e 's/ports.ubuntu.com/mirrors.ocf.berkeley.edu/g' /etc/apt/sources.list && \
14
+ sed -i -e 's/http/https/g' /etc/apt/sources.list && \
12
15
apt-get update ; \
13
16
apt-get install -y build-essential ; \
14
17
make work/redis/bin/redis-cli work/redis/bin/redis-server VERSION=${VERSION}; \
Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ ENV VERSION=${VERSION}
8
8
COPY ./Makefile /
9
9
10
10
RUN set -eux; \
11
- # sed -i -e 's/http/https/g' /etc/apt/sources.list ; \
11
+ sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \
12
+ sed -i -e 's/security.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \
13
+ sed -i -e 's/ports.ubuntu.com/mirrors.ocf.berkeley.edu/g' /etc/apt/sources.list && \
14
+ sed -i -e 's/http/https/g' /etc/apt/sources.list && \
12
15
apt-get update ; \
13
16
apt-get install -y build-essential ; \
14
17
make work/redis/bin/redis-cli work/redis/bin/redis-server VERSION=${VERSION}; \
Original file line number Diff line number Diff line change @@ -10,7 +10,10 @@ ENV GH_ORG=valkey-io
10
10
COPY ./Makefile /
11
11
12
12
RUN set -eux; \
13
- # sed -i -e 's/http/https/g' /etc/apt/sources.list ; \
13
+ sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \
14
+ sed -i -e 's/security.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \
15
+ sed -i -e 's/ports.ubuntu.com/mirrors.ocf.berkeley.edu/g' /etc/apt/sources.list && \
16
+ sed -i -e 's/http/https/g' /etc/apt/sources.list && \
14
17
apt-get update ; \
15
18
apt-get install -y build-essential ; \
16
19
make work/valkey/bin/valkey-cli work/valkey/bin/valkey-server VERSION=${VERSION}; \
Original file line number Diff line number Diff line change @@ -7,11 +7,13 @@ ENV VERSION=${VERSION}
7
7
# Copy Spring Data Redis's Makefile into the container
8
8
COPY ./Makefile /
9
9
10
-
11
10
RUN set -eux; \
12
- # sed -i -e 's/http/https/g' /etc/apt/sources.list ; \
11
+ sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \
12
+ sed -i -e 's/security.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \
13
+ sed -i -e 's/ports.ubuntu.com/mirrors.ocf.berkeley.edu/g' /etc/apt/sources.list && \
14
+ sed -i -e 's/http/https/g' /etc/apt/sources.list && \
13
15
apt-get update ; \
14
- apt-get install -y build-essential curl; \
16
+ apt-get install -y build-essential curl ; \
15
17
make work/redis/bin/redis-cli work/redis/bin/redis-server VERSION=${VERSION}; \
16
18
chmod -R o+rw work; \
17
19
apt-get clean; \
You can’t perform that action at this time.
0 commit comments