-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cdk deploy -failed #974
Comments
✨ Synthesis time: 4.1s CdkTestStack: start: Building 7f18a11296f35510ee16538afec983ed6312e12afbf81b777089a9f8e34e2474:current_account-current_region #1 [internal] load .dockerignore #2 [internal] load build definition from Dockerfile #3 [internal] load metadata for public.ecr.aws/lambda/python:3.8 #4 [1/4] FROM public.ecr.aws/lambda/python:3.8@sha256:792f2bf43029d35f88de33a4d244db99e8d81319ce4e306d1ba257a0a9a16b30 #5 [internal] load build context #6 [2/4] RUN yum update -y && yum install -y amazon-linux-extras && PYTHON=python2 amazon-linux-extras install epel && yum -y install clamav clamd p7zip && yum clean all && pip3 install --no-cache-dir cffi awslambdaric boto3 requests aws-lambda-powertools && ln -s /etc/freshclam.conf /tmp/freshclam.conf
|
I'm unable to reproduce this problem. @chandra-pexa Can you test if this issue persists after clearing your docker image cache and attempting another |
@dontirun i did clear the docker cache and tried again. I end with same error. |
Hmm, are you behind any sort of network proxy? |
yes, this is on my work laptop. |
Is the epel repo blocked on your work network? |
@chandra-pexa Do you see the same issue if you use version |
This happened to me after cleaning out my disk space and removing some docker images, containers, volumes and builds... so i think this broke somehow the cdk. I solved this by removing the |
cdk failed with following error. Can someone help ?
#6 218.9 Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again
#6 ERROR: process "/bin/sh -c yum update -y && yum install -y amazon-linux-extras && PYTHON=python2 amazon-linux-extras install epel && yum -y install clamav clamd p7zip && yum clean all && pip3 install --no-cache-dir cffi awslambdaric boto3 requests aws-lambda-powertools && ln -s /etc/freshclam.conf /tmp/freshclam.conf" did not complete successfully: exit code: 1
The text was updated successfully, but these errors were encountered: