mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
tweaking
This commit is contained in:
parent
aa0d6b06d6
commit
20dd685ab0
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ FROM --platform=linux/${DOCKER_ARCH} centos:5 AS stage
|
||||||
WORKDIR /root/rpmbuild/BUILD
|
WORKDIR /root/rpmbuild/BUILD
|
||||||
COPY . .
|
COPY . .
|
||||||
COPY --from=builder zerotier-* ./
|
COPY --from=builder zerotier-* ./
|
||||||
RUN printf "[C5.10-base]\nname=CentOS-5.10 - Base\nbaseurl=http://vault.epel.cloud/5.10/os/\$basearch/\ngpgcheck=1\ngpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6\nenabled=1\nmetadata_expire=never\n" > /etc/yum.repos.d/CentOS-Base.repo
|
# RUN printf "[C5.10-base]\nname=CentOS-5.10 - Base\nbaseurl=http://vault.epel.cloud/5.10/os/\$basearch/\ngpgcheck=1\ngpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6\nenabled=1\nmetadata_expire=never\n" > /etc/yum.repos.d/CentOS-Base.repo
|
||||||
RUN uname -a
|
RUN uname -a
|
||||||
RUN yum -y install make gcc rpm-build
|
RUN yum -y install make gcc rpm-build
|
||||||
RUN pwd
|
RUN pwd
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
ARG DOCKER_ARCH
|
ARG DOCKER_ARCH
|
||||||
FROM --platform=linux/${DOCKER_ARCH} centos:5
|
FROM --platform=linux/${DOCKER_ARCH} centos:5
|
||||||
RUN printf "[C5.10-base]\nname=CentOS-5.10 - Base\nbaseurl=http://vault.epel.cloud/5.10/os/\$basearch/\ngpgcheck=1\ngpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6\nenabled=1\nmetadata_expire=never\n" > /etc/yum.repos.d/CentOS-Base.repo
|
# RUN printf "[C5.10-base]\nname=CentOS-5.10 - Base\nbaseurl=http://vault.epel.cloud/5.10/os/\$basearch/\ngpgcheck=1\ngpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6\nenabled=1\nmetadata_expire=never\n" > /etc/yum.repos.d/CentOS-Base.repo
|
||||||
RUN yum -y install curl
|
RUN yum -y install curl
|
||||||
|
|
Loading…
Add table
Reference in a new issue