mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-05 21:02:58 +00:00
* ci: use 'vault.centos.org' as default yum for centos:7 image * ci: fix cargo-binstall version to adapt rust toolchain * ci: specify cargo-binstall version to adapt current rust toolchain
21 lines
560 B
Docker
21 lines
560 B
Docker
FROM centos:7
|
|
|
|
# Note: CentOS 7 has reached EOL since 2024-07-01 thus `mirror.centos.org` is no longer available and we need to use `vault.centos.org` instead.
|
|
RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
|
|
RUN sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
|
|
|
|
RUN yum install -y epel-release \
|
|
openssl \
|
|
openssl-devel \
|
|
centos-release-scl \
|
|
rh-python38 \
|
|
rh-python38-python-devel
|
|
|
|
ARG TARGETARCH
|
|
|
|
ADD $TARGETARCH/greptime /greptime/bin/
|
|
|
|
ENV PATH /greptime/bin/:$PATH
|
|
|
|
ENTRYPOINT ["greptime"]
|