Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use pingcap base image #5198

Merged
merged 7 commits into from
Jul 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions images/br-federation-manager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM alpine:3.14

FROM pingcap/pingcap-base:v1
ARG TARGETARCH
RUN apk add tzdata bind-tools --no-cache
RUN dnf install -y bind-utils tzdata && dnf clean all
ADD bin/${TARGETARCH}/br-federation-manager /usr/local/bin/br-federation-manager
4 changes: 2 additions & 2 deletions images/br-federation-manager/Dockerfile.e2e
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM alpine:3.14
FROM pingcap/pingcap-base:v1

ARG TARGETARCH
RUN apk add tzdata bind-tools --no-cache
RUN dnf install -y tzdata bind-utils && dnf clean all
ADD bin/br-federation-manager /usr/local/bin/br-federation-manager
2 changes: 1 addition & 1 deletion images/tidb-backup-manager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rockylinux:9.1.20230215
FROM pingcap/pingcap-base:v1
ARG TARGETARCH
ARG RCLONE_VERSION=v1.57.0
ARG SHUSH_VERSION=v1.4.0
Expand Down
2 changes: 1 addition & 1 deletion images/tidb-backup-manager/Dockerfile.e2e
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rockylinux:9.1.20230215
FROM pingcap/pingcap-base:v1
ARG TARGETARCH=amd64
ARG RCLONE_VERSION=v1.57.0
ARG SHUSH_VERSION=v1.4.0
Expand Down
4 changes: 2 additions & 2 deletions images/tidb-operator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:3.14
FROM pingcap/pingcap-base:v1

ARG TARGETARCH
RUN apk add tzdata bind-tools --no-cache
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: 2 additions & 2 deletions images/tidb-operator/Dockerfile.e2e
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine:3.14
FROM pingcap/pingcap-base:v1

RUN apk add tzdata bash bind-tools --no-cache
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
Loading