Skip to content

Commit

Permalink
build: bump alpine image to 3.17 (#5969)
Browse files Browse the repository at this point in the history
close #5968, ref golang/go#52399

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Co-authored-by: lhy1024 <admin@liudos.us>
  • Loading branch information
3 people committed Feb 13, 2023
1 parent bcdaf48 commit 31355ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Expand Up @@ -6,7 +6,8 @@ RUN apk add --no-cache \
bash \
curl \
gcc \
g++
g++ \
binutils-gold

# Install jq for pd-ctl
RUN cd / && \
Expand All @@ -26,7 +27,7 @@ COPY . .

RUN make

FROM alpine:3.5
FROM alpine:3.17

COPY --from=builder /go/src/github.com/tikv/pd/bin/pd-server /pd-server
COPY --from=builder /go/src/github.com/tikv/pd/bin/pd-ctl /pd-ctl
Expand Down

0 comments on commit 31355ad

Please sign in to comment.