-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate linux builder OS from CentOS 7 to RockyLinux 8
Fixes #379 Signed-off-by: wuhuizuo <[email protected]>
- Loading branch information
Showing
8 changed files
with
24 additions
and
86 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
|
@@ -7,17 +7,7 @@ | |
# - docker build -t tidb -f Dockerfile ./tidb | ||
|
||
########### stage: Builder | ||
FROM centos:7.9.2009 as builder | ||
# CentOS 7 has reached EOL | ||
RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo \ | ||
&& sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo \ | ||
&& sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo | ||
|
||
# install packages. | ||
RUN yum -y update && \ | ||
yum -y groupinstall "Development Tools" && \ | ||
yum -y install java-11-openjdk && \ | ||
yum clean all | ||
FROM quay.io/rockylinux/rockylinux:8.10.20240528 as builder | ||
|
||
# install golang toolchain | ||
# renovate: datasource=docker depName=golang | ||
|
@@ -28,7 +18,7 @@ ENV PATH /usr/local/go/bin/:$PATH | |
LABEL go-version="${GOLANG_VERSION}" | ||
|
||
# Install nodejs. | ||
RUN curl -fsSL https://rpm.nodesource.com/setup_16.x | bash - | ||
RUN curl -fsSL https://rpm.nodesource.com/setup_18.x | bash - | ||
RUN yum -y install nodejs && yum clean all | ||
RUN npm install -g [email protected] | ||
|
||
|
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 |
---|---|---|
|
@@ -6,11 +6,7 @@ | |
# - docker build -t tikv -f Dockerfile ./tikv | ||
|
||
########### stage: Builder | ||
FROM centos:7.9.2009 as builder | ||
# CentOS 7 has reached EOL | ||
RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo \ | ||
&& sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo \ | ||
&& sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo | ||
FROM quay.io/rockylinux/rockylinux:8.10.20240528 as builder | ||
|
||
LABEL org.opencontainers.image.authors "[email protected]" | ||
LABEL org.opencontainers.image.description "binary builder for tiflash" | ||
|
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
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