Skip to content

Commit

Permalink
feat: just use pingcap-base
Browse files Browse the repository at this point in the history
Signed-off-by: lijie <[email protected]>
  • Loading branch information
jayl1e committed Jul 25, 2023
1 parent b557c7d commit 2ffc153
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions images/br-federation-manager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM pingcap/tools-base:v1

FROM pingcap/pingcap-base:v1
ARG TARGETARCH
RUN dnf install -y bind-utils tzdata && dnf clean all
ADD bin/${TARGETARCH}/br-federation-manager /usr/local/bin/br-federation-manager
3 changes: 2 additions & 1 deletion images/tidb-operator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM pingcap/tools-base:v1
FROM pingcap/pingcap-base:v1

ARG TARGETARCH
RUN dnf install -y tzdata bind-utils && dnf clean all
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: 3 additions & 1 deletion images/tidb-operator/Dockerfile.e2e
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM pingcap/tools-base:v1
FROM pingcap/pingcap-base:v1

RUN dnf install -y tzdata bash bind-utils && dnf clean all

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

0 comments on commit 2ffc153

Please sign in to comment.