File tree 8 files changed +8
-111
lines changed
eth-bytecode-db/eth-bytecode-db-server
smart-contract-verifier-http
smart-contract-verifier-server
8 files changed +8
-111
lines changed Original file line number Diff line number Diff line change 1
- FROM lukemathwalker/cargo-chef:0.1.62-rust-1.74-buster as chef
2
-
3
- WORKDIR /app
4
- ARG TARGETARCH
5
- RUN case ${TARGETARCH} in \
6
- "arm64" ) TARGETARCH=aarch_64 ;; \
7
- "amd64" ) TARGETARCH=x86_64 ;; \
8
- esac \
9
- && wget https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-$TARGETARCH.zip -O ./protoc.zip \
10
- && unzip protoc.zip \
11
- && mv ./include/* /usr/include/ \
12
- && mv ./bin/protoc /usr/bin/protoc
13
-
14
- RUN case ${TARGETARCH} in \
15
- "amd64" ) TARGETARCH=x86_64 ;; \
16
- esac \
17
- && wget https://github.com/grpc-ecosystem/grpc-gateway/releases/download/v2.15.0/protoc-gen-openapiv2-v2.15.0-linux-$TARGETARCH -O ./protoc-gen-openapiv2 \
18
- && chmod +x protoc-gen-openapiv2 \
19
- && mv ./protoc-gen-openapiv2 /usr/bin/protoc-gen-openapiv2
1
+ FROM ghcr.io/blockscout/services-base:latest as chef
20
2
21
3
FROM chef AS plan
22
4
COPY . .
Original file line number Diff line number Diff line change 1
- FROM lukemathwalker/cargo-chef:0.1.62-rust-1.72-buster as chef
2
- WORKDIR /app
3
-
4
- RUN apt-get update && apt-get install -y curl wget unzip
5
- RUN wget https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip -O ./protoc.zip \
6
- && unzip protoc.zip \
7
- && mv ./include/* /usr/include/ \
8
- && mv ./bin/protoc /usr/bin/protoc
9
-
10
- RUN wget https://github.com/grpc-ecosystem/grpc-gateway/releases/download/v2.15.0/protoc-gen-openapiv2-v2.15.0-linux-x86_64 -O ./protoc-gen-openapiv2 \
11
- && chmod +x protoc-gen-openapiv2 \
12
- && mv ./protoc-gen-openapiv2 /usr/bin/protoc-gen-openapiv2
1
+ FROM ghcr.io/blockscout/services-base:latest as chef
13
2
14
3
FROM chef AS plan
15
4
COPY . .
Original file line number Diff line number Diff line change 1
- FROM lukemathwalker/cargo-chef:0.1.62-rust-1.72-buster as chef
2
- WORKDIR /app
3
-
4
- RUN apt-get update && apt-get install -y curl wget unzip
5
- RUN wget https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip -O ./protoc.zip \
6
- && unzip protoc.zip \
7
- && mv ./include/* /usr/include/ \
8
- && mv ./bin/protoc /usr/bin/protoc
9
-
10
- RUN wget https://github.com/grpc-ecosystem/grpc-gateway/releases/download/v2.15.0/protoc-gen-openapiv2-v2.15.0-linux-x86_64 -O ./protoc-gen-openapiv2 \
11
- && chmod +x protoc-gen-openapiv2 \
12
- && mv ./protoc-gen-openapiv2 /usr/bin/protoc-gen-openapiv2
1
+ FROM ghcr.io/blockscout/services-base:latest as chef
13
2
14
3
FROM chef AS plan
15
4
COPY . .
Original file line number Diff line number Diff line change 1
- FROM lukemathwalker/cargo-chef:0.1.62-rust-1.72-buster as chef
2
- WORKDIR /app
3
-
4
- RUN apt-get update && apt-get install -y curl wget unzip
5
- RUN wget https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip -O ./protoc.zip \
6
- && unzip protoc.zip \
7
- && mv ./include/* /usr/include/ \
8
- && mv ./bin/protoc /usr/bin/protoc
9
-
10
- RUN wget https://github.com/grpc-ecosystem/grpc-gateway/releases/download/v2.15.0/protoc-gen-openapiv2-v2.15.0-linux-x86_64 -O ./protoc-gen-openapiv2 \
11
- && chmod +x protoc-gen-openapiv2 \
12
- && mv ./protoc-gen-openapiv2 /usr/bin/protoc-gen-openapiv2
1
+ FROM ghcr.io/blockscout/services-base:latest as chef
13
2
14
3
FROM chef AS plan
15
4
COPY . .
Original file line number Diff line number Diff line change 1
- FROM lukemathwalker/cargo-chef:0.1.62-rust-1.72-buster as chef
2
- WORKDIR /app
3
-
4
- RUN apt-get update && apt-get install -y curl wget unzip
5
- RUN wget https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip -O ./protoc.zip \
6
- && unzip protoc.zip \
7
- && mv ./include/* /usr/include/ \
8
- && mv ./bin/protoc /usr/bin/protoc
9
-
10
- RUN wget https://github.com/grpc-ecosystem/grpc-gateway/releases/download/v2.15.0/protoc-gen-openapiv2-v2.15.0-linux-x86_64 -O ./protoc-gen-openapiv2 \
11
- && chmod +x protoc-gen-openapiv2 \
12
- && mv ./protoc-gen-openapiv2 /usr/bin/protoc-gen-openapiv2
1
+ FROM ghcr.io/blockscout/services-base:latest as chef
13
2
14
3
FROM chef AS plan
15
4
COPY . .
Original file line number Diff line number Diff line change 1
- FROM lukemathwalker/cargo-chef:0.1.62-rust-1.72-buster as chef
2
- WORKDIR /app
3
-
4
- RUN apt-get update && apt-get install -y curl wget unzip
5
- RUN wget https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip -O ./protoc.zip \
6
- && unzip protoc.zip \
7
- && mv ./include/* /usr/include/ \
8
- && mv ./bin/protoc /usr/bin/protoc
9
-
10
- RUN wget https://github.com/grpc-ecosystem/grpc-gateway/releases/download/v2.15.0/protoc-gen-openapiv2-v2.15.0-linux-x86_64 -O ./protoc-gen-openapiv2 \
11
- && chmod +x protoc-gen-openapiv2 \
12
- && mv ./protoc-gen-openapiv2 /usr/bin/protoc-gen-openapiv2
1
+ FROM ghcr.io/blockscout/services-base:latest as chef
13
2
14
3
FROM chef AS plan
15
4
COPY . .
Original file line number Diff line number Diff line change 1
- FROM lukemathwalker/cargo-chef:0.1.62-rust-1.72-buster as chef
2
- WORKDIR /app
3
-
4
- RUN apt-get update && apt-get install -y curl wget unzip
5
- RUN wget https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip -O ./protoc.zip \
6
- && unzip protoc.zip \
7
- && mv ./include/* /usr/include/ \
8
- && mv ./bin/protoc /usr/bin/protoc
9
-
10
- RUN wget https://github.com/grpc-ecosystem/grpc-gateway/releases/download/v2.15.0/protoc-gen-openapiv2-v2.15.0-linux-x86_64 -O ./protoc-gen-openapiv2 \
11
- && chmod +x protoc-gen-openapiv2 \
12
- && mv ./protoc-gen-openapiv2 /usr/bin/protoc-gen-openapiv2
1
+ FROM ghcr.io/blockscout/services-base:latest as chef
13
2
14
3
FROM chef AS plan
15
4
COPY . .
Original file line number Diff line number Diff line change 1
- FROM lukemathwalker/cargo-chef:0.1.62-rust-1.74-buster as chef
2
-
3
- WORKDIR /app
4
- ARG TARGETARCH
5
- RUN case ${TARGETARCH} in \
6
- "arm64" ) TARGETARCH=aarch_64 ;; \
7
- "amd64" ) TARGETARCH=x86_64 ;; \
8
- esac \
9
- && wget https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-$TARGETARCH.zip -O ./protoc.zip \
10
- && unzip protoc.zip \
11
- && mv ./include/* /usr/include/ \
12
- && mv ./bin/protoc /usr/bin/protoc
13
-
14
- RUN case ${TARGETARCH} in \
15
- "amd64" ) TARGETARCH=x86_64 ;; \
16
- esac \
17
- && wget https://github.com/grpc-ecosystem/grpc-gateway/releases/download/v2.15.0/protoc-gen-openapiv2-v2.15.0-linux-$TARGETARCH -O ./protoc-gen-openapiv2 \
18
- && chmod +x protoc-gen-openapiv2 \
19
- && mv ./protoc-gen-openapiv2 /usr/bin/protoc-gen-openapiv2
20
-
1
+ FROM ghcr.io/blockscout/services-base:latest as chef
21
2
22
3
FROM chef AS plan
23
4
COPY . .
You can’t perform that action at this time.
0 commit comments