eclipse使用git导入项目报“Couldn't create temporary repository”

解决办法:搜索C盘下的.gitconfig.删除,重启eclipse即可

docker build -t ash-master . [+] Building 43.0s (6/8) docker:default => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 377B 0.0s => [internal] load metadata for docker.io/library/centos:7 17.9s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => CACHED [1/4] FROM docker.io/library/centos:7@sha256:be65f488b7764ad3638f23 0.0s => [internal] load build context 0.0s => => transferring context: 4.07kB 0.0s => ERROR [2/4] RUN yum update -y && yum install -y epel-release && y 25.1s ------ > [2/4] RUN yum update -y && yum install -y epel-release && yum install -y git tor python3: 0.990 Loaded plugins: fastestmirror, ovl 1.408 Determining fastest mirrors 25.05 Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was 25.05 14: curl#7 - "Failed connect to mirrorlist.centos.org:80; Operation now in progress" 25.05 25.05 25.05 One of the configured repositories failed (Unknown), 25.05 and yum doesn't have enough cached data to continue. At this point the only 25.05 safe thing yum can do is fail. There are a few ways to work "fix" this: 25.05 25.05 1. Contact the upstream for the repository and get them to fix the problem. 25.05 25.05 2. Reconfigure the baseurl/etc. for the repository, to point to a working 25.05 upstream. This is most often useful if you are using a newer 25.05 distribution release than is supported by the repository (and the 25.05 packages for the previous distribution release still work). 25.05 25.05 3. Run the command with the repository temporarily disabled 25.05 yum --disablerepo=<repoid> ... 25.05 25.05 4. Disable the repository permanently, so yum won't use it by default. Yum 25.05 will then just ignore the repository until you permanently enable it 25.05 again or use --enablerepo for temporary usage: 25.05 25.05 yum-config-manager --disable <repoid> 25.05 or 25.05 subscription-manager repos --disable=<repoid> 25.05 25.05 5. Configure the failing repository to be skipped, if it is unavailable. 25.05 Note that yum will try to contact the repo. when it runs most commands, 25.05 so will have to try and fail each time (and thus. yum will be be much 25.05 slower). If it is a very temporary problem though, this is often a nice 25.05 compromise: 25.05 25.05 yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true 25.05 25.05 Cannot find a valid baseurl for repo: base/7/x86_64 ------ Dockerfile:5 -------------------- 4 | # 安装依赖包 5 | >>> RUN yum update -y && \ 6 | >>> yum install -y epel-release && \ 7 | >>> yum install -y git tor python3 8 | -------------------- ERROR: failed to solve: process "/bin/sh -c yum update -y && yum install -y epel-release && yum install -y git tor python3" did not complete successfully: exit code: 1 编译的时候错了,怎么解决
最新发布
07-05
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值