Skip to content

Commit 2a9d808

Browse files
refine buildx Dockerfile
1 parent 643e0eb commit 2a9d808

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

builder/Dockerfile.dind

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ ENV GOROOT /usr/local/go
1818
ENV PATH /usr/bin:/usr/local/bin:/usr/local/go/bin:/sbin:/bin
1919
COPY --from=gobase /usr/local/go /usr/local/go
2020

21-
# 参考https://github.com/kran0/dind-alternative/blob/master/Dockerfile
22-
2321
####### end o env #######
2422

2523
RUN sed -i -e "s|mirrorlist=|#mirrorlist=|g" /etc/yum.repos.d/CentOS-*
@@ -33,16 +31,6 @@ RUN yum -y install yum-utils device-mapper-persistent-data lvm2 iptables openssl
3331
&& echo "dockremap:524288:65536" >> /etc/subuid\
3432
&& echo "dockremap:524288:65536" >> /etc/subgid
3533

36-
37-
# install helm ossutil
38-
# RUN wget http://sigma-cerebro.oss-cn-zhangjiakou.aliyuncs.com/tools/helm-v3.8.0-linux-amd64.tar.gz && tar -zxvf helm-v3.8.0-linux-amd64.tar.gz && cp linux-amd64/helm /usr/local/bin/helm
39-
# RUN wget https://gosspublic.alicdn.com/ossutil/1.7.10/ossutil64 && chmod 755 ossutil64 && cp ossutil64 /usr/local/bin/ossutil
40-
# RUN wget http://sigma-cerebro.oss-cn-zhangjiakou.aliyuncs.com/tools/OSS_Python_API_20160419.zip\
41-
# && unzip OSS_Python_API_20160419.zip -d OSSCMD && cd OSSCMD\
42-
# && python setup.py install && ln -s `pwd`/osscmd /usr/local/bin/osscmd
43-
# RUN curl -LO http://sigma-cerebro.oss-cn-zhangjiakou.aliyuncs.com/tools/aliyun && \
44-
# chmod +x aliyun && mv aliyun /usr/local/bin/aliyun
45-
4634
RUN yum -y update; yum clean all; \
4735
yum -y install systemd; yum clean all; \
4836
yum -y install libsystemd-dev; yum clean all;\
@@ -72,10 +60,6 @@ RUN # LOG_LEVEL="{{.LOG_LEVEL}}"
7260
RUN make build-binaries LINUX_PLATFORMS=linux_$TARGETARCH ENABLE_JOURNALD=1
7361
RUN make build-tar LINUX_PLATFORMS=linux_$TARGETARCH ENABLE_JOURNALD=1
7462

75-
RUN ls -lR /src/github.com/AliyunContainerService/node-problem-detector/config
76-
77-
RUN ls -l /src/github.com/AliyunContainerService/node-problem-detector/
78-
7963
#######################################################
8064

8165

0 commit comments

Comments
 (0)