浏览代码

docker for building v1.15.4 version

iwita 5 年之前
父节点
当前提交
5afdb25efe
共有 1 个文件被更改,包括 16 次插入0 次删除
  1. 16 0
      Dockerfile

+ 16 - 0
Dockerfile

@@ -0,0 +1,16 @@
+FROM ubuntu:18.04
+
+RUN apt update -y
+RUN apt upgrade -y
+RUN apt install wget -y
+
+RUN mkdir -p  /usr/local/data
+RUN wget https://dl.google.com/go/go1.12.2.linux-amd64.tar.gz
+RUN tar -C /usr/local -xzf go1.12.2.linux-amd64.tar.gz
+
+RUN apt-get install build-essential -y
+RUN apt-get install vim -y
+
+RUN apt-get install rsync -y
+
+RUN echo "export PATH=$PATH:/usr/local/go/bin" >> /root/.bashrc