Skip to content

Commit

Permalink
br: security update br image:1.18.1-alpine to 1.18.9-alpine (#40863) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot committed Mar 30, 2023
1 parent c1f3c4b commit a991ae5
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions br/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# For loading data to TiDB
FROM golang:1.18-buster as go-ycsb-builder

FROM golang:1.18.9-alpine as go-ycsb-builder
WORKDIR /go/src/github.com/pingcap/
RUN git clone https://github.com/pingcap/go-ycsb.git --depth=1 && \
cd go-ycsb && \
Expand All @@ -8,15 +9,7 @@ RUN git clone https://github.com/pingcap/go-ycsb.git --depth=1 && \
# For operating minio S3 compatible storage
FROM minio/mc as mc-builder

FROM golang:1.18-buster

RUN apt-get update && apt-get install -y --no-install-recommends \
git \
curl \
vim \
less \
default-mysql-client \
&& rm -rf /var/lib/apt/lists/*
FROM golang:1.18.9-alpine

WORKDIR /go/src/github.com/pingcap/br
COPY . .
Expand Down

0 comments on commit a991ae5

Please sign in to comment.