Skip to content

Commit

Permalink
Merge pull request #1531 from tanzhongyi003/master
Browse files Browse the repository at this point in the history
upgrade base image to 20.04
  • Loading branch information
zyearn authored Aug 17, 2021
2 parents f767823 + 8d1836b commit 74db116
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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)"

0 comments on commit 74db116

Please sign in to comment.