Skip to content

Commit

Permalink
feat: use pingcap base image
Browse files Browse the repository at this point in the history
Signed-off-by: lijie <[email protected]>
  • Loading branch information
jayl1e committed Jul 24, 2023
1 parent 2aa655d commit d1c8aa3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions images/tidb-operator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM alpine:3.14
FROM hub.pingcap.net/bases/tools-base:v1

ARG TARGETARCH
RUN apk add tzdata bind-tools --no-cache
ADD bin/${TARGETARCH}/tidb-scheduler /usr/local/bin/tidb-scheduler
ADD bin/${TARGETARCH}/tidb-discovery /usr/local/bin/tidb-discovery
ADD bin/${TARGETARCH}/tidb-controller-manager /usr/local/bin/tidb-controller-manager
Expand Down
4 changes: 1 addition & 3 deletions images/tidb-operator/Dockerfile.e2e
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
FROM alpine:3.14

RUN apk add tzdata bash bind-tools --no-cache
FROM hub.pingcap.net/bases/tools-base:v1

ADD bin/tidb-scheduler /usr/local/bin/tidb-scheduler
ADD bin/tidb-discovery /usr/local/bin/tidb-discovery
Expand Down

0 comments on commit d1c8aa3

Please sign in to comment.