Install git during docker build so update-git-hash-if-necessary works.

pull/59/head
Brad Cowie 2019-12-29 19:48:04 +13:00
parent 8c56335e6a
commit 1e4d0589db
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ RUN sed -i "s%http://archive.ubuntu.com/ubuntu/%${APT_URL}%" /etc/apt/sources.li
RUN apt-get update && apt-get -y upgrade && apt-get -y clean
RUN apt-get install -y protobuf-compiler libh2o-dev libcurl4-openssl-dev \
libssl-dev libprotobuf-dev libh2o-evloop-dev libwslay-dev libeigen3-dev \
make gcc g++ build-essential curl autoconf automake libfmt-dev libncurses5-dev \
make gcc g++ git build-essential curl autoconf automake libfmt-dev libncurses5-dev \
&& apt-get -y clean
# Build

View File

@ -8,7 +8,7 @@ ENV LC_ALL C.UTF-8
RUN apt-get update && apt-get -y upgrade && apt-get -y clean
RUN apt-get install -y protobuf-compiler libh2o-dev libcurl4-openssl-dev \
libssl-dev libprotobuf-dev libh2o-evloop-dev libwslay-dev libeigen3-dev \
make clang-9 build-essential curl autoconf automake libfmt-dev libncurses5-dev \
make clang-9 git build-essential curl autoconf automake libfmt-dev libncurses5-dev \
&& apt-get -y clean
# Build