Closed kolesker closed 1 year ago
This is a possible workaround which works for me based on aws-sam-cli
workaround:
RUN set -ex \
&& pip3 install --no-cache-dir --upgrade --force-reinstall "pip==$PYTHON_PIP_VERSION" \
&& pip3 install --no-cache-dir --upgrade 'setuptools==67.7.2' wheel \
&& pip3 install --no-build-isolation "Cython<3" "pyyaml==5.4.1" \
&& pip3 install --no-cache-dir --upgrade aws-sam-cli boto3 pipenv virtualenv \
&& pip3 install --no-cache-dir --upgrade "PyYAML==$PYYAML_VERSION"
@kolesker Thanks for reporting this issue and providing a work around. We discovered this issue this morning and are implementing a fix.
The fix will be included with the next release.
Thanks for your reply @Antonio-AWS , do you have an ETA for the new release? Thank you
Describe the bug Ubuntu Standard 7.0 Docker Image fails to build
To Reproduce Just attempt to build the Docker image:
Expected behavior Image builds successfully
Logs
Platform:
Additional context Apparently, there is an issue with PyYAML installing aws-sam-cli. A workaround is provided in the below link: Link to reference: https://github.com/aws/aws-sam-cli/issues/5543#issuecomment-1638982507