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)"