From 4f78b0ab264399c789bd98f51a3ea238a704146b Mon Sep 17 00:00:00 2001 From: johntaiko Date: Sat, 25 May 2024 00:29:45 +0800 Subject: [PATCH] fix: install sudo for gramine (#250) * fix: install sudo for gramine * update image location Signed-off-by: smtmfft --------- Signed-off-by: smtmfft Co-authored-by: smtmfft --- Dockerfile | 3 ++- docker/docker-compose.yml | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8abb66b79..18f20fbc3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,8 @@ RUN apt-get update && \ libsgx-dcap-ql \ libsgx-urts \ sgx-pck-id-retrieval-tool \ - jq &&\ + jq \ + sudo && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index a7eab7e8b..e726ba152 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -3,7 +3,7 @@ services: build: context: .. dockerfile: Dockerfile - image: gcr.io/evmchain/raiko:latest + image: us-docker.pkg.dev/evmchain/images/raiko:latest container_name: raiko-init command: --init devices: @@ -24,7 +24,7 @@ services: args: ENABLE_SELF_REGISTER: "true" dockerfile: Dockerfile - image: gcr.io/evmchain/raiko:latest + image: us-docker.pkg.dev/evmchain/images/raiko:latest container_name: raiko-init-self-register command: --init-self-register devices: @@ -50,7 +50,7 @@ services: build: context: .. dockerfile: Dockerfile - image: gcr.io/evmchain/raiko:latest + image: us-docker.pkg.dev/evmchain/images/raiko:latest container_name: raiko command: --config-path=/etc/raiko/config.sgx.json --chain-spec-path=/etc/raiko/chain_spec_list.docker.json devices: @@ -85,7 +85,7 @@ services: build: context: .. dockerfile: Dockerfile - image: gcr.io/evmchain/raiko:latest + image: us-docker.pkg.dev/evmchain/images/raiko:latest container_name: raiko-self-register command: --config-path=/etc/raiko/config.sgx.json --chain-spec-path=/etc/raiko/chain_spec_list.docker.json devices: @@ -119,7 +119,7 @@ services: build: context: .. dockerfile: Dockerfile.pccs - image: gcr.io/evmchain/pccs:latest + image: us-docker.pkg.dev/evmchain/images/pccs:latest container_name: pccs volumes: - ${HOME}/.config/sgx-pccs/default.json:/opt/intel/pccs/config/default.json