-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dockerfiles/products): add dockerfiles for history LTS versions (#…
…313) migrate from ci.git Signed-off-by: wuhuizuo <wuhuizuo@126.com> --------- Signed-off-by: wuhuizuo <wuhuizuo@126.com>
- Loading branch information
Showing
45 changed files
with
329 additions
and
3 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
# linux/amd64: https://github.com/PingCAP-QE/ci-dockerfile/blob/master/jenkins/amd64/alpine-3.14.6 | ||
# TODO: compose a multi-arch image. | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 AS amd64 | ||
RUN apk add --no-cache curl | ||
|
||
# linux/arm64: | ||
# base: https://github.com/PingCAP-QE/artifacts/blob/main/dockerfiles/old-bases/arm64/centos-stream.Dockerfile | ||
FROM pingcap/centos-stream:8 | ||
FROM pingcap/centos-stream:8 AS arm64 | ||
RUN set -e && \ | ||
dnf install bind-utils curl nmap-ncat -y && \ | ||
dnf clean all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
COPY zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip | ||
COPY br /br |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
RUN apk add --no-cache tzdata | ||
COPY dm-worker /dm-worker | ||
COPY dm-master /dm-master | ||
COPY dmctl /dmctl | ||
COPY mydumper /mydumper | ||
|
||
EXPOSE 8291 8261 8262 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
COPY zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip | ||
COPY dumpling /dumpling |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
COPY pd-server /pd-server | ||
COPY pd-ctl /pd-ctl | ||
EXPOSE 2379 2380 | ||
ENTRYPOINT ["/pd-server"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
RUN apk add --no-cache tzdata bash curl socat | ||
COPY cdc /cdc | ||
EXPOSE 8300 | ||
CMD [ "/cdc" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
COPY tidb-server /tidb-server | ||
EXPOSE 4000 | ||
ENTRYPOINT ["/tidb-server"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
COPY zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip | ||
COPY pump /pump | ||
COPY drainer /drainer | ||
COPY reparo /reparo | ||
COPY binlogctl /binlogctl | ||
EXPOSE 4000 | ||
EXPOSE 8249 8250 | ||
CMD ["/pump"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
COPY zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip | ||
COPY tidb-lightning /tidb-lightning | ||
COPY tidb-lightning-ctl /tidb-lightning-ctl | ||
COPY br /br |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM centos:centos7.9.2009 | ||
WORKDIR /usr/local/tiem | ||
RUN mkdir bin \ | ||
&& mkdir etc \ | ||
&& mkdir logs \ | ||
&& mkdir scripts \ | ||
&& mkdir docs | ||
COPY bin/tiupcmd ./bin | ||
COPY bin/brcmd ./bin | ||
COPY bin/openapi-server ./bin | ||
COPY bin/cluster-server ./bin | ||
COPY bin/metadb-server ./bin | ||
COPY build_helper/docker_start_cmd.sh ./scripts | ||
EXPOSE 4116 | ||
ENTRYPOINT ["/bin/bash", "/usr/local/tiem/scripts/docker_start_cmd.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM centos:centos7.9.2009 | ||
ENV TZ=/etc/localtime | ||
ENV TZDIR=/usr/share/zoneinfo | ||
|
||
COPY tikv-server /tikv-server | ||
COPY tikv-ctl /tikv-ctl | ||
EXPOSE 20160 | ||
ENTRYPOINT ["/tikv-server"] |
11 changes: 11 additions & 0 deletions
11
dockerfiles/products/le6.5-linux-amd64/dm-monitor-initializer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
|
||
ADD init.sh /usr/bin/init.sh | ||
RUN chmod +x /usr/bin/init.sh | ||
|
||
COPY dashboards/*.json /tmp/ | ||
COPY rules/*.rules.yml /tmp/ | ||
COPY datasources/*.yaml /tmp/ | ||
|
||
ENTRYPOINT ["/usr/bin/init.sh"] | ||
CMD ["TIDB-Cluster", "/grafana-dashboard-definitions/tidb/", "false", "/etc/prometheus"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
WORKDIR /usr/local/tiem | ||
RUN mkdir bin \ | ||
&& mkdir etc \ | ||
&& mkdir logs \ | ||
&& mkdir scripts \ | ||
&& mkdir docs | ||
COPY bin/tiupcmd ./bin | ||
COPY bin/brcmd ./bin | ||
COPY bin/openapi-server ./bin | ||
COPY bin/cluster-server ./bin | ||
COPY bin/metadb-server ./bin | ||
COPY build_helper/docker_start_cmd.sh ./scripts | ||
EXPOSE 4116 | ||
ENTRYPOINT ["/bin/bash", "/usr/local/tiem/scripts/docker_start_cmd.sh"] |
11 changes: 11 additions & 0 deletions
11
dockerfiles/products/le6.5-linux-arm64/dm-monitor-initializer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM busybox | ||
|
||
ADD init.sh /usr/bin/init.sh | ||
RUN chmod +x /usr/bin/init.sh | ||
|
||
COPY dashboards/*.json /tmp/ | ||
COPY rules/*.rules.yml /tmp/ | ||
COPY datasources/*.yaml /tmp/ | ||
|
||
ENTRYPOINT ["/usr/bin/init.sh"] | ||
CMD ["TIDB-Cluster", "/grafana-dashboard-definitions/tidb/", "false", "/etc/prometheus"] |
30 changes: 30 additions & 0 deletions
30
dockerfiles/products/le6.5-linux-arm64/tidb-backup-manager
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM pingcap/centos-stream:8 | ||
ARG RCLONE_VERSION=v1.51.0 | ||
ARG SHUSH_VERSION=v1.4.0 | ||
ARG TOOLKIT_V40=v4.0.12 | ||
RUN yum makecache && yum install ca-certificates wget unzip -y | ||
|
||
RUN wget -nv https://downloads.rclone.org/${RCLONE_VERSION}/rclone-${RCLONE_VERSION}-linux-arm64.zip \ | ||
&& unzip rclone-${RCLONE_VERSION}-linux-arm64.zip \ | ||
&& mv rclone-${RCLONE_VERSION}-linux-arm64/rclone /usr/local/bin \ | ||
&& chmod 755 /usr/local/bin/rclone \ | ||
&& rm -rf rclone-${RCLONE_VERSION}-linux-arm64.zip rclone-${RCLONE_VERSION}-linux-arm64 | ||
|
||
RUN wget -nv https://github.com/realestate-com-au/shush/releases/download/${SHUSH_VERSION}/shush_linux_arm64 \ | ||
&& mv shush_linux_arm64 /usr/local/bin/shush \ | ||
&& chmod 755 /usr/local/bin/shush | ||
|
||
RUN \ | ||
wget -nv https://download.pingcap.org/tidb-toolkit-${TOOLKIT_V40}-linux-arm64.tar.gz \ | ||
&& tar -xzf tidb-toolkit-${TOOLKIT_V40}-linux-arm64.tar.gz \ | ||
&& mv tidb-toolkit-${TOOLKIT_V40}-linux-arm64/bin/tidb-lightning /tidb-lightning \ | ||
&& mv tidb-toolkit-${TOOLKIT_V40}-linux-arm64/bin/tidb-lightning-ctl /tidb-lightning-ctl \ | ||
&& mv tidb-toolkit-${TOOLKIT_V40}-linux-arm64/bin/dumpling /dumpling \ | ||
&& chmod 755 /dumpling /tidb-lightning /tidb-lightning-ctl \ | ||
&& rm -rf tidb-toolkit-${TOOLKIT_V40}-linux-arm64.tar.gz \ | ||
&& rm -rf tidb-toolkit-${TOOLKIT_V40}-linux-arm64 | ||
|
||
COPY bin/tidb-backup-manager /tidb-backup-manager | ||
COPY entrypoint.sh /entrypoint.sh | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM pingcap/centos-stream:8 | ||
COPY ./build/linux/reload /bin/reload | ||
ENTRYPOINT ["/bin/reload"] | ||
CMD [ "--watch-path=/etc/prometheus/rules", "--prometheus-url=http://127.0.0.1:9090" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM arm64v8/alpine:3.10 | ||
|
||
RUN apk add tzdata --no-cache | ||
ADD bin/tidb-scheduler /usr/local/bin/tidb-scheduler | ||
ADD bin/tidb-discovery /usr/local/bin/tidb-discovery | ||
ADD bin/tidb-controller-manager /usr/local/bin/tidb-controller-manager | ||
ADD bin/tidb-admission-webhook /usr/local/bin/tidb-admission-webhook |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
COPY ng-monitoring-server /ng-monitoring-server | ||
EXPOSE 12020 | ||
ENTRYPOINT ["/ng-monitoring-server"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM pingcap/centos-stream:8 | ||
COPY zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip | ||
COPY ng-monitoring-server /ng-monitoring-server | ||
EXPOSE 12020 | ||
ENTRYPOINT ["/ng-monitoring-server"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
RUN apk add --no-cache jq | ||
|
||
COPY pd-server /pd-server | ||
COPY pd-ctl /pd-ctl | ||
COPY pd-recover /pd-recover | ||
EXPOSE 2379 2380 | ||
ENTRYPOINT ["/pd-server"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM pingcap/centos-stream:8 | ||
|
||
COPY pd-server /pd-server | ||
COPY pd-ctl /pd-ctl | ||
COPY pd-recover /pd-recover | ||
EXPOSE 2379 2380 | ||
ENTRYPOINT ["/pd-server"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
COPY zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip | ||
|
||
COPY pump /pump | ||
COPY drainer /drainer | ||
COPY reparo /reparo | ||
COPY binlogctl /binlogctl | ||
EXPOSE 4000 | ||
EXPOSE 8249 8250 | ||
CMD ["/pump"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM pingcap/centos-stream:8 | ||
COPY zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip | ||
|
||
COPY pump /pump | ||
COPY drainer /drainer | ||
COPY reparo /reparo | ||
COPY binlogctl /binlogctl | ||
EXPOSE 4000 | ||
EXPOSE 8249 8250 | ||
CMD ["/pump"] |
4 changes: 4 additions & 0 deletions
4
dockerfiles/products/tidb-tools/le6.5/tidb-tools.amd64.Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
COPY zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip | ||
|
||
COPY sync_diff_inspector /sync_diff_inspector |
3 changes: 3 additions & 0 deletions
3
dockerfiles/products/tidb-tools/le6.5/tidb-tools.arm64.Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM pingcap/centos-stream:8 | ||
COPY zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip | ||
COPY sync_diff_inspector /sync_diff_inspector |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
COPY zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip | ||
|
||
COPY br /br |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM pingcap/centos-stream:8 | ||
COPY zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip | ||
|
||
COPY br /br |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
COPY zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip | ||
|
||
COPY dumpling /dumpling |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM pingcap/centos-stream:8 | ||
COPY zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip | ||
|
||
COPY dumpling /dumpling |
6 changes: 6 additions & 0 deletions
6
dockerfiles/products/tidb/le6.5/tidb-lightning.amd64.Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
COPY zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip | ||
|
||
COPY tidb-lightning /tidb-lightning | ||
COPY tidb-lightning-ctl /tidb-lightning-ctl | ||
COPY br /br |
6 changes: 6 additions & 0 deletions
6
dockerfiles/products/tidb/le6.5/tidb-lightning.arm64.Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM pingcap/centos-stream:8 | ||
COPY zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip | ||
|
||
COPY tidb-lightning /tidb-lightning | ||
COPY tidb-lightning-ctl /tidb-lightning-ctl | ||
COPY br /br |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
RUN apk add --no-cache curl | ||
|
||
COPY tidb-server /tidb-server | ||
EXPOSE 4000 | ||
ENTRYPOINT ["/tidb-server"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM pingcap/tidb-base:centos8 | ||
|
||
COPY tidb-server /tidb-server | ||
EXPOSE 4000 | ||
ENTRYPOINT ["/tidb-server"] |
8 changes: 8 additions & 0 deletions
8
dockerfiles/products/tidb/le6.5/tidb.enterprise.amd64.Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
RUN apk add --no-cache curl | ||
|
||
COPY tidb-server /tidb-server | ||
COPY audit-1.so /plugins/audit-1.so | ||
COPY whitelist-1.so /plugins/whitelist-1.so | ||
EXPOSE 4000 | ||
ENTRYPOINT ["/tidb-server"] |
7 changes: 7 additions & 0 deletions
7
dockerfiles/products/tidb/le6.5/tidb.enterprise.arm64.Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM pingcap/tidb-base:centos8 | ||
|
||
COPY tidb-server /tidb-server | ||
COPY audit-1.so /plugins/audit-1.so | ||
COPY whitelist-1.so /plugins/whitelist-1.so | ||
EXPOSE 4000 | ||
ENTRYPOINT ["/tidb-server"] |
18 changes: 18 additions & 0 deletions
18
dockerfiles/products/tiflash/le6.5/tiflash.amd64.Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM hub.pingcap.net/tiflash/centos:7.9.2009-amd64 | ||
|
||
USER root | ||
WORKDIR /root/ | ||
|
||
ARG INSTALL_MYSQL=0 | ||
ENV HOME /root/ | ||
ENV TZ Asia/Shanghai | ||
ENV LD_LIBRARY_PATH /tiflash | ||
|
||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \ | ||
echo $TZ > /etc/timezone && \ | ||
if [[ $INSTALL_MYSQL -eq 1 ]]; then yum install mysql -y; yum clean all; fi | ||
|
||
|
||
COPY tiflash /tiflash | ||
|
||
ENTRYPOINT ["/tiflash/tiflash", "server"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM hub.pingcap.net/tiflash/centos:7.9.2009-aarch64 | ||
USER root | ||
WORKDIR /root/ | ||
ENV HOME /root/ | ||
ENV TZ Asia/Shanghai | ||
ENV LD_LIBRARY_PATH /tiflash | ||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | ||
COPY tiflash /tiflash | ||
ENTRYPOINT ["/tiflash/tiflash", "server"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
RUN apk add --no-cache tzdata | ||
COPY dm-worker /dm-worker | ||
COPY dm-master /dm-master | ||
COPY dmctl /dmctl | ||
|
||
EXPOSE 8291 8261 8262 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM alpine:3.10 | ||
RUN apk add --no-cache tzdata | ||
COPY dm-worker /dm-worker | ||
COPY dm-master /dm-master | ||
COPY dmctl /dmctl | ||
|
||
EXPOSE 8291 8261 8262 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM pingcap/alpine-glibc:alpine-3.14.6 | ||
RUN apk add --no-cache tzdata bash curl socat | ||
COPY cdc /cdc | ||
EXPOSE 8300 | ||
CMD [ "/cdc" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM alpine:3.12 | ||
RUN apk add --no-cache tzdata bash curl socat | ||
COPY cdc /cdc | ||
EXPOSE 8300 | ||
CMD [ "/cdc" ] |
Oops, something went wrong.