-
Notifications
You must be signed in to change notification settings - Fork 42
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
Upgrade docker images from 20.04 to 22.04 #465
Upgrade docker images from 20.04 to 22.04 #465
Conversation
have you tested with host install mode as well? |
Nope, i just wanted to make docker images work with pdo-contract which now (implicitly) requires 22.04. Hence i've also not updated any docu that 22.04 is now the default (which i think Prakash has something against :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we dropping docker support for 20.04? If this PR is about adding support for 22.04 in addition to 20.04, I am in favor. I am not in favor of dropping docker support for 20.04, given that PDO itself is supported for 20.04 ONLY as of now. Until we officially move PDO to 22.04, we should retain docker support for 20.04. If docker fails in 20.04 due to a recent commit, IMHO we should revert those commits.
You still will be able to build docker with ubuntu 20.04, it just wouldn't be the default anymore. You just have to specify |
Signed-off-by: g2flyer <[email protected]>
0c7681d
to
ea61570
Compare
Signed-off-by: g2flyer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Tested using 'make test' on a fresh VM. Haven't tested the containers against examples from the contract repo. One very minor comment is that on the https://github.com/hyperledger-labs/private-data-objects/blob/main/docs/docker.md
doc, it would be good to say that one needs to have make
installed as well to create the docker images. Not sure if the version matters. Thanks!
Title mostly says it all. Main trigger was that client docker image had too old a
cmake
("thanks" to a 1/16 change) to build contracts inpdo-contracts
. That said, 20.04 of course is also a bit dated and EOL if in a year.Tested by running the usual
make test
here and by mountingpdo-contracts
into a client container and then runmake test
in it (which admittedly initially failed in the inference tests but that was due to the guardian requiring anapt install libgl1 libcudart11.0
to work properly! After running thatmake test
also worked for pdo-contracts => Q: should we add these dependencies also to pdo_client.dockerfile?)