Skip to content

Commit

Permalink
fix: install sudo for gramine (#250)
Browse files Browse the repository at this point in the history
* fix: install sudo for gramine

* update image location

Signed-off-by: smtmfft <smtm@taiko.xyz>

---------

Signed-off-by: smtmfft <smtm@taiko.xyz>
Co-authored-by: smtmfft <smtm@taiko.xyz>
  • Loading branch information
johntaiko and smtmfft authored May 24, 2024
1 parent 486d033 commit 4f78b0a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

Expand Down
10 changes: 5 additions & 5 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4f78b0a

Please sign in to comment.