Skip to content

Instantly share code, notes, and snippets.

View CalvinHaynes's full-sized avatar
🖥️
Coding

Calvin Haynes CalvinHaynes

🖥️
Coding
View GitHub Profile
@CalvinHaynes
CalvinHaynes / Hadoop集群Dockerfile
Last active November 16, 2021 11:32
Hadoop集群Dockerfilev1.0.0
# 实验一利用Hadoop搭建服务器集群的基础环境Dockerfile
FROM ubuntu:20.04
ARG arch_name=amd64
# 1.备份源列表
RUN cp /etc/apt/sources.list /etc/apt/sources.backup.list
# 2.把本目录下的sources.list中的镜像源添加到Docker中,下载速度起飞
COPY sources.list /etc/apt/sources.list
# 3.更新源
RUN apt-get update