1 往文件中写入大量内容
bash
cat << EOF >test.sh
FROM docker-dev-go1.20.1:heads-v17.03
RUN rm -rf /usr/local/go; mkdir /usr/local/go
COPY go /usr/local/go
EOF
cat << EOF >test.sh
FROM docker-dev-go1.20.1:heads-v17.03
RUN rm -rf /usr/local/go; mkdir /usr/local/go
COPY go /usr/local/go
EOF