Skip to content

Commit 5706b3a

Browse files
committed
fix docker build
1 parent 6c639b2 commit 5706b3a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,5 @@ logs/
5959

6060
# db file
6161
*.db
62+
63+
Cargo.lock

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
FROM rust:slim-buster AS buildstage
22
WORKDIR /build
33
RUN /bin/sh -c set -eux;\
4+
rustup component add rustfmt;\
45
apt-get update;\
5-
apt-get install -y --no-install-recommends git;\
6+
apt-get install -y --no-install-recommends git protobuf-compiler;\
67
rm -rf /var/lib/apt/lists/*;
78
COPY . /build/
89
RUN cargo build --release

0 commit comments

Comments
 (0)