Comments (13)
Update Dockerfile 7ea3f73
from aws-ecr-action.
the latest version of the aws-cli
introduced some new dependencies (like gcc) that this Dockerfile doesn't install.
we got around this by pinning the aws-cli
install to the last working version -- pip install awscli==1.18.95
from aws-ecr-action.
Also seeing this same issue today
from aws-ecr-action.
Will this revision have a new release version?
from aws-ecr-action.
Update Dockerfile 7ea3f73
Thank you @kciter
from aws-ecr-action.
I´m facing the same issue here.
building 'Cython.Plex.Scanners' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/tmp
creating build/temp.linux-x86_64-2.7/tmp/pip-install-yLt36n
creating build/temp.linux-x86_64-2.7/tmp/pip-install-yLt36n/Cython
creating build/temp.linux-x86_64-2.7/tmp/pip-install-yLt36n/Cython/Cython
creating build/temp.linux-x86_64-2.7/tmp/pip-install-yLt36n/Cython/Cython/Plex
gcc -fno-strict-aliasing -Os -fomit-frame-pointer -g -DNDEBUG -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/python2.7 -c /tmp/pip-install-yLt36n/Cython/Cython/Plex/Scanners.c -o build/temp.linux-x86_64-2.7/tmp/pip-install-yLt36n/Cython/Cython/Plex/Scanners.o
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-yLt36n/Cython/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-ui1Oyn/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-JyJ8i9 --compile" failed with error code 1 in /tmp/pip-install-yLt36n/Cython/
----------------------------------------
Command "/usr/bin/python2 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-JyJ8i9 --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel Cython" failed with error code 1 in None
The command '/bin/sh -c apk update && apk upgrade && apk add --no-cache --update python py-pip coreutils bash && rm -rf /var/cache/apk/* && pip install awscli && apk --purge -v del py-pip' returned a non-zero code: 1
Error: Docker build failed with exit code 1
What I see here that the base image doesn´t have gcc compiler installed and the script need it.. so crashed.
I saw in code that the base image is https://hub.docker.com/_/docker?tab=tags&page=1&ordering=last_updated&name=19.03.4
Step 1/5 : FROM docker:19.03.4
and have more than one year this image so probably some step after before enable the right execution and not because some modification in the base image.
from aws-ecr-action.
Possibly related?: https://github.blog/changelog/2020-02-27-github-actions-breaking-change-python-2-being-removed-from-all-virtual-environments/
gh actions removing support for python2.7
from aws-ecr-action.
awscli==1.18.95
I tried do build image locally with the change in Dockerfile from pip install awscli to pip install awscli==1.18.95 and it worked fine.
Now is only missing the repository owner fix it :)
from aws-ecr-action.
Same here
from aws-ecr-action.
+1
from aws-ecr-action.
Updating to kciter/aws-ecr-action@master
resolved the problem for me. If possible to trigger a new version that would be much appreciated :)
from aws-ecr-action.
@kciter As the awscli brings in more functionality and security updates from version to version, I think it's wise to pin to a specific pyyaml version rather than awscli's. I've sent a PR about this too in case you agree with me #21.
from aws-ecr-action.
Here, new release https://github.com/kciter/aws-ecr-action/releases/tag/v3 😄
from aws-ecr-action.
Related Issues (20)
- Check if image already exists on ECR HOT 2
- Support for Docker buildx
- Invalid security token HOT 1
- Bad Yaml results in silent failure
- Docker Hub HOT 1
- ERROR: ca-certificates-20191127-r2: BAD archive HOT 1
- Fails when path is not . HOT 1
- Action failing with multiple tags
- Feature to add lifecycle policy HOT 1
- Problem with using path argument HOT 5
- Using path: HOT 1
- Space in comma separated tags results in incorrect tagging
- New release v4 HOT 2
- unable to prepare context: path "***.dkr.ecr.eu-central-1.amazonaws.com.." issue HOT 4
- Doesn't work with public repositories
- Missing KMS encryption
- [PROBLEM] extra_build_args doesnt work HOT 3
- set-output is deprecated
- Release Version for GitHub Actions Upgrade? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-ecr-action.