瀏覽代碼

Add git to the Dockerfile

It is necessary for vergen to work
Paul Lietar 7 年之前
父節點
當前提交
a4ad1e7757
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 2 0
      .dockerignore
  2. 1 1
      contrib/Dockerfile

+ 2 - 0
.dockerignore

@@ -1 +1,3 @@
 target
+cache
+protocol/target

+ 1 - 1
contrib/Dockerfile

@@ -19,7 +19,7 @@ RUN dpkg --add-architecture armhf
 RUN dpkg --add-architecture armel
 RUN apt-get update
 
-RUN apt-get install -y curl build-essential crossbuild-essential-armhf crossbuild-essential-armel
+RUN apt-get install -y curl git build-essential crossbuild-essential-armhf crossbuild-essential-armel
 RUN apt-get install -y libasound2-dev libasound2-dev:armhf libasound2-dev:armel
 
 RUN curl https://sh.rustup.rs -sSf | sh -s -- -y