From 2f76ee0602ae804104e8c561bf5f440e49f680c3 Mon Sep 17 00:00:00 2001 From: doge Date: Wed, 27 Apr 2022 23:17:51 +0800 Subject: [PATCH] fix: docker build --- Dockerfile | 2 +- Dockerfile.cloud | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1306e616..0f49085d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ENV RUSTFLAGS="-C target-feature=-crt-static" WORKDIR /app COPY ./ /app -RUN apk add --no-cache musl-dev git +RUN apk add --no-cache musl-dev git cmake RUN cargo build --release --bin stat_server RUN strip /app/target/release/stat_server diff --git a/Dockerfile.cloud b/Dockerfile.cloud index 1d6647f0..97a63ddf 100644 --- a/Dockerfile.cloud +++ b/Dockerfile.cloud @@ -5,7 +5,7 @@ ENV RUSTFLAGS="-C target-feature=-crt-static" WORKDIR /app COPY ./ /app -RUN apk add --no-cache musl-dev git +RUN apk add --no-cache musl-dev git cmake RUN cargo build --release --bin stat_server RUN strip /app/target/release/stat_server