Browse Source

upgrade baseimage to 20.04

tanzhongyi003 2 years ago
parent
commit
8d1836b841
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Dockerfile

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