From 8d1836b841c5e98cc67542241567ae4549ea83e6 Mon Sep 17 00:00:00 2001 From: tanzhongyi003 Date: Tue, 17 Aug 2021 10:25:58 +0800 Subject: [PATCH] upgrade baseimage to 20.04 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6474a7d1b5..253e43f46a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ # limitations under the License. # A image for building/testing brpc -FROM ubuntu:16.04 +FROM ubuntu:20.04 # prepare env RUN apt-get update && apt-get install -y --no-install-recommends \ @@ -37,6 +37,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libsnappy-dev && \ apt-get clean -y -RUN git clone https://github.com/brpc/brpc.git brpc -RUN cd /brpc && sh config_brpc.sh --headers=/usr/include --libs=/usr/lib && \ +RUN git clone https://github.com/apache/incubator-brpc.git +RUN cd incubator-brpc && sh config_brpc.sh --headers=/usr/include --libs=/usr/lib && \ make -j "$(nproc)"