File tree 4 files changed +17
-5
lines changed
4 files changed +17
-5
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 @@ -8,9 +8,12 @@ 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
- apt-get install -y build-essential ; \
16
+ apt-get install -y build-essential curl ; \
14
17
make work/redis/bin/redis-cli work/redis/bin/redis-server VERSION=${VERSION}; \
15
18
chmod -R o+rw work; \
16
19
apt-get clean; \
You can’t perform that action at this time.
0 commit comments