Open justinhynes opened 1 month ago
We recently asked AXIM around the use of the public Dockerfile in the Credentials repo and were told that we (2U) were the only folks using it.
We are going to update the Build and Push Docker Images
workflow to not build the arm64 version for now.
On 2024-05-08 an update was made to the public Dockerfile to support Python 3.11 (https://github.com/openedx/credentials/pull/2474).
After this merged to the
master
branch, I noticed that theBuild and Push Docker Images
workflow has started to fail.Before merging my changes, I had verified a successful build of a docker image from the repo's base Dockerfile. Upon further inspection, I realized that we are building multiple versions of the image for multiple platforms (
linux/amd64
&linux/arm64
, configured here -- https://github.com/openedx/credentials/actions/runs/9014850121/workflow#L53).This issue seems specifically related to the image build for
linux/arm64
. It is having an issue finding a compatible version of thedidkit
dependency for thearm64
image.Logs from a failed workflow: https://github.com/openedx/credentials/actions/runs/9014850121/job/24768334656.
We first build the
linux/amd64
version, which is able to locate and installdidkit
v. 0.3.2:However, during the image build for
linux/arm64
, we run into issues:I'm not sure if this is caused by an incompatibility between Python 3.11 and
didkit
. I have not rolled back the changes to the public Dockerfile as Python 3.11 was a requirement for the Redwood release of Open edX.