Revert "Refactor(deps) update rust and golang versions in dockerfile" (#805)

Revert "Refactor(deps)  update rust and golang versions in dockerfile (#804)"

This reverts commit a70ecd8ceb.

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero 2024-10-28 10:51:10 +08:00 committed by GitHub
parent a70ecd8ceb
commit 0a1015bec9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
FROM rust:1.80 AS builder
FROM rust:1.80.0 AS builder
WORKDIR /app/client
RUN apt-get update && apt-get install -y --no-install-recommends \
RUN apt-get update && apt-get install -y \
openssl libclang-dev pkg-config protobuf-compiler git \
&& rm -rf /var/lib/apt/lists/*
@ -48,7 +48,7 @@ RUN if [ "$(uname -m)" = "ppc64le" ]; then \
fi && \
chmod +x /bin/grpc_health_probe
FROM golang:1.23 AS pprof
FROM golang:1.23.0-alpine3.20 AS pprof
RUN go install github.com/google/pprof@latest