diff --git a/.docker/Dockerfile b/.docker/Dockerfile index daacdc365546bfeedcde19a4c14e6ed4879cab8f..e412711c928ba3927e6292360da397078669eb9f 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -3,8 +3,11 @@ FROM debian:latest RUN echo "deb http://deb.debian.org/debian buster-backports main" > /etc/apt/sources.list.d/buster-backports.list RUN apt-get update RUN apt-get install -y clang-format-11 -RUN apt-get install -y golang-go +RUN apt-get install -y golang-1.15 RUN apt-get install -y curl +RUN apt-get install -y cmake +RUN apt-get install -y python3-pip +RUN apt-get install -y protobuf-compiler # buf RUN BIN="/usr/local/bin" && \ @@ -16,11 +19,8 @@ RUN BIN="/usr/local/bin" && \ chmod +x "${BIN}/${BINARY_NAME}" -RUN apt-get install -y cmake -RUN apt-get install -y python3-pip COPY doc/requirements.txt requirements.txt RUN pip3 install -r requirements.txt -RUN apt-get install -y protobuf-compiler -RUN go get github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc +RUN GO111MODULE=on go install github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc@v1.4.1