NandiniKJ

Results 15 comments of NandiniKJ

I am able to run the docker image without Gramine and it works fine. Please find the below output. After converting it to Gramine container should we mount the /opt...

Original app image command: `docker run --rm -it -e BM_IP=dsb-manager-dsb-for-nandini.dsb-roks-vpc-412-c9b7119538b194dae4a1958742b244b0-0000.eu-de.containers.appdomain.cloud -e BM_SHIELD_SYNC_ID="*****" -e BM_SHIELD_TAG=dsb-shield-app1 -e BS_SSL=true -e BS_SSL_KEYSTORE_FILE=/opt/sslconfig/baffleshield-keystore.jks -e BS_SSL_KEYSTORE_PASSWORD=keystore -e BS_SSL_TRUSTSTORE_FILE=/opt/sslconfig/baffleshield-keystore.jks -e BS_SSL_TRUSTSTORE_PASSWORD=keystore -e BS_SSL_TLS_VERSION=TLSv1.2 -e KMS_CONFIG_PROPERTIES="{'baffle_secret':'*****','kmsType': 'local'}" icr.io/data-security-broker/dsb-shield-postgresql-v1:v1`...

I tried to look inside the GSC Docker image, opt folder is there but its empty. `root@baremetal01-innovation-poc-sgx:~/gramine-poc/gsc-v2# docker run -it --entrypoint /bin/bash gsc-icr.io/data-security-broker/dsb-shield-postgresql-v1:v1 root@16ac5039e29b:/# ls bin boot dev etc gramine...

Its not empty in the original Docker image. It has the start-baffle-shield.sh script in the defined path /opt/baffle/Release-Baffle.1.7.0.161/shield. `root@baremetal01-innovation-poc-sgx:~/gramine-poc/gsc-v2# docker exec -it 17e6f3692053 sh sh-4.4$ ls bin boot dev etc...

I tried the above command which you gave, the existing image has the baffle folder inside opt. `root@baremetal01-innovation-poc-sgx:~/gramine-poc/gsc-v2# docker run -it --entrypoint /bin/bash icr.io/data-security-broker/dsb-shield-postgresql:v1 [baffle@b0c3229b9f8a /]$ ls bin boot dev...

I deleted all the Docker images and pruned it. Git cloned - https://github.com/gramineproject/gsc.git Then ran the following commands: `cd gsc cp config.yaml.template config.yaml openssl genrsa -3 -out enclave-key.pem 3072 ./gsc...

I tried the above fix and the ninja issue is resolved, but got into another error. `Step 12/29 : RUN apt-get update && env DEBIAN_FRONTEND=noninteractive apt-get install -y binutils expect...

Please find the details below: DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS" PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL=[https://www.ubuntu.com/](https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ubuntu.com_&d=DwMGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=XRJPG3O9uEqqRhQ4vKcczCy7Vpsh-lJU25j3qugrrOM&m=BGc59gw67VR_1xJ2sJwaMte1eaoj4BblxzhfF3QmCxu3M9YeDooJZZCwhUaZS3K4&s=Kkf2hXI-DQtSaz0_HjopCoonrF79VZw4yaC6ypSGJg4&e=) SUPPORT_URL=[https://help.ubuntu.com/](https://urldefense.proofpoint.com/v2/url?u=https-3A__help.ubuntu.com_&d=DwMGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=XRJPG3O9uEqqRhQ4vKcczCy7Vpsh-lJU25j3qugrrOM&m=BGc59gw67VR_1xJ2sJwaMte1eaoj4BblxzhfF3QmCxu3M9YeDooJZZCwhUaZS3K4&s=XGsOspJToAQsqvtKEw2ECJOQfASJIMm-xc-dxbnoRZ4&e=) BUG_REPORT_URL=[https://bugs.launchpad.net/ubuntu/](https://urldefense.proofpoint.com/v2/url?u=https-3A__bugs.launchpad.net_ubuntu_&d=DwMGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=XRJPG3O9uEqqRhQ4vKcczCy7Vpsh-lJU25j3qugrrOM&m=BGc59gw67VR_1xJ2sJwaMte1eaoj4BblxzhfF3QmCxu3M9YeDooJZZCwhUaZS3K4&s=0BNt6wggPgGnmrzlMOpSo4O0BRoBp3qwlCgab--YFfE&e=) PRIVACY_POLICY_URL=[https://www.ubuntu.com/legal/terms-and-policies/privacy-policy](https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ubuntu.com_legal_terms-2Dand-2Dpolicies_privacy-2Dpolicy&d=DwMGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=XRJPG3O9uEqqRhQ4vKcczCy7Vpsh-lJU25j3qugrrOM&m=BGc59gw67VR_1xJ2sJwaMte1eaoj4BblxzhfF3QmCxu3M9YeDooJZZCwhUaZS3K4&s=651cuoAQfbYvRBRoqaByrr2beqkTchq7L0dCXx8vhms&e=) UBUNTU_CODENAME=jammy Gramine does...

Yes, even after using this PR I get the below error. `Step 12/29 : RUN apt-get update && env DEBIAN_FRONTEND=noninteractive apt-get install -y binutils expect libprotobuf-c-dev locales openssl python3 python3-cryptography...

Please find the contents below. ```shell # Specify the OS distro that is used to build Gramine, i.e., the distro from where the Gramine build # gets all tools and...