docker安装jupyter lab报错

本地已经安装好jupyter

然后我写好了dockerfile
RUN yum install -y epel-release
&& yum repolist -y
&& yum install -y openssh-server python3
&& pip3 install jupyterlab pymysql datetime
&& echo 'root:123456' | chpasswd
&& mkdir /var/run/sshd
&& /usr/bin/ssh-keygen -A
EXPOSE 22
CMD ["/usr/sbin/sshd", "-D"]

在进行构建进行build时 报错

gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Iextras/libargon2/include -I/usr/include/python3.6m -c build/temp.linux-x86_64-3.6/_ffi.c -o build/temp.linux-x86_64-3.6/build/temp.linux-x86_64-3.6/_ffi.o -msse2
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1

我安装的是python3.7 并且gcc也是最新版本 还是这样报错是怎么回事呀

unable to execute 'gcc': No such file or directory
报错提示你缺少依赖了,以下命令安装缺少的依赖
yum -y install gcc