File tree Expand file tree Collapse file tree 4 files changed +17
-5
lines changed Expand file tree Collapse file tree 4 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ ENV VERSION=${VERSION}
88COPY ./Makefile /
99
1010RUN 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 && \
1215 apt-get update ; \
1316 apt-get install -y build-essential ; \
1417 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}
88COPY ./Makefile /
99
1010RUN 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 && \
1215 apt-get update ; \
1316 apt-get install -y build-essential ; \
1417 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
1010COPY ./Makefile /
1111
1212RUN 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 && \
1417 apt-get update ; \
1518 apt-get install -y build-essential ; \
1619 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}
88COPY ./Makefile /
99
1010RUN 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 && \
1215 apt-get update ; \
13- apt-get install -y build-essential ; \
16+ apt-get install -y build-essential curl ; \
1417 make work/redis/bin/redis-cli work/redis/bin/redis-server VERSION=${VERSION}; \
1518 chmod -R o+rw work; \
1619 apt-get clean; \
You can’t perform that action at this time.
0 commit comments