File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change 3
3
** /Dockerfile
4
4
** /Jenkinsfile
5
5
** /LICENSE
6
- ** /* .md
7
6
** /* .json
8
7
** /* .deb
9
8
** /node_modules
Original file line number Diff line number Diff line change 1
1
# Build and base images are assumed to be based on the same major version of Debian.
2
2
ARG build_image
3
3
ARG base_image
4
- ARG protoc_version=3.15.3
5
4
6
5
# Build stage.
7
6
FROM ${build_image} AS build
8
7
9
8
# Install system dependencies ('cmake' and 'g++' are dependencies of Rust crate 'prost-build').
10
- RUN apt-get update && apt-get install -y libssl-dev pkg-config cmake g++ wget zip && rm -rf /var/lib/apt/lists/*
11
-
12
- # Install protobuf compiler 'protoc'.
13
- ARG protoc_version
14
- RUN wget --no-verbose "https://github.com/protocolbuffers/protobuf/releases/download/v${protoc_version}/protoc-${protoc_version}-linux-x86_64.zip" \
15
- && unzip "protoc-${protoc_version}-linux-x86_64.zip" \
16
- && mv ./bin/protoc /usr/bin/protoc \
17
- && chmod +x /usr/bin/protoc
9
+ RUN apt-get update && apt-get install -y libssl-dev pkg-config && rm -rf /var/lib/apt/lists/*
18
10
19
11
WORKDIR /build
20
12
COPY . .
You can’t perform that action at this time.
0 commit comments