File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 11FROM maven:3-eclipse-temurin-8 AS datax-builder
22
3- RUN sed -i "s@http://.*archive.ubuntu.com@http://mirrors.huaweicloud.com@g" /etc/apt/sources.list && \
4- sed -i "s@http://.*security.ubuntu.com@http://mirrors.huaweicloud.com@g" /etc/apt/sources.list && \
5- apt-get update && \
3+ RUN apt-get update && \
64 apt-get install -y git && \
75 git clone https://github.com/alibaba/DataX.git
86
@@ -23,9 +21,7 @@ RUN cd /opt/backend && \
2321
2422FROM eclipse-temurin:21-jdk
2523
26- RUN sed -i "s@http://.*archive.ubuntu.com@http://mirrors.huaweicloud.com@g" /etc/apt/sources.list && \
27- sed -i "s@http://.*security.ubuntu.com@http://mirrors.huaweicloud.com@g" /etc/apt/sources.list && \
28- apt-get update && \
24+ RUN apt-get update && \
2925 apt-get install -y vim wget curl nfs-common rsync python3 python3-pip python-is-python3 dos2unix && \
3026 apt-get clean && \
3127 rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments