Skip to content
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

sgx-dcap-pccs packaging #117

Open
mythi opened this issue Jun 22, 2020 · 6 comments
Open

sgx-dcap-pccs packaging #117

mythi opened this issue Jun 22, 2020 · 6 comments

Comments

@mythi
Copy link

mythi commented Jun 22, 2020

Steps.

$ docker run -it ubuntu:18:04
# apt update && apt install -y wget git gnupg
# echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu bionic main' | tee /etc/apt/sources.list.d/intel-sgx.list
# wget -qO - https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add -
# apt update && apt install sgx-dcap-pccs
Need to get 68.2 MB of archives.
After this operation, 275 MB of additional disk space will be used.

275Mb includes dependencies like python2, gcc/g++ and also, deprecated
nodejs modules:

npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

Are these all needed?

@lingyuj
Copy link
Contributor

lingyuj commented Jun 23, 2020

I think so. We will try to remove deprecated modules in future releases.

@dimakuv
Copy link

dimakuv commented Jul 14, 2022

+1 to this request. We (the Gramine team) also noticed this unnecessarily large number and size of dependencies of the reference PCCS.

@pbeza
Copy link

pbeza commented Mar 3, 2024

@lingyuj, are there any updates on this? It's been four years since @mythi reported the issue and two years since @dimakuv confirmed it...

@lingyuj
Copy link
Contributor

lingyuj commented Mar 4, 2024

@lingyuj, are there any updates on this? It's been four years since @mythi reported the issue and two years since @dimakuv confirmed it...

It’s been shrunken to about 80MB in size. Thanks.

@mythi
Copy link
Author

mythi commented Mar 4, 2024

@lingyuj, are there any updates on this? It's been four years since @mythi reported the issue and two years since @dimakuv confirmed it...

It’s been shrunken to about 80MB in size. Thanks.

It would be good to close issues that are fixed. I can see there's also QuoteGeneration/pccs/container/Dockerfile which might help to deploy a size-optimized PCCS in a container.

@lingyuj
Copy link
Contributor

lingyuj commented Mar 4, 2024

@lingyuj, are there any updates on this? It's been four years since @mythi reported the issue and two years since @dimakuv confirmed it...

It’s been shrunken to about 80MB in size. Thanks.

It would be good to close issues that are fixed. I can see there's also QuoteGeneration/pccs/container/Dockerfile which might help to deploy a size-optimized PCCS in a container.

Yes, the Dockerfile is also size-optimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants