You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am trying to build the docker image for localci and linux for veracruz. But I am getting the following error: => ERROR [corim_builder 7/12] RUN cocli comid create --template MyComidPsaIak.json
I do not understand what is the root cause of the error and how to resolve it. Any help or leads in this regard will be greatly appreciated.
Full log:
anirban@madras:~/veracruz/docker$ make localci-build
DOCKER_BUILDKIT=1 docker build --network host --build-arg ARCH=x86_64 --build-arg DOCKER_ARCH=amd64/ --build-arg VERSION=v23.12 -t veracruz/base:v23.12 -f base/Dockerfile .
[+] Building 0.8s (15/35) docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 5.57kB 0.0s
=> WARN: FromAsCasing: 'AS' and 'from' keywords' casing do not match (line 18) 0.0s
=> WARN: FromAsCasing: 'AS' and 'from' keywords' casing do not match (line 30) 0.0s
=> WARN: ConsistentInstructionCasing: Command 'from' should match the case of the command majority (uppercase) (line 18) 0.0s
=> WARN: ConsistentInstructionCasing: Command 'from' should match the case of the command majority (uppercase) (line 30) 0.0s
=> WARN: UndefinedArgInFrom: FROM argument 'DOCKER_ARCH' is not declared (line 18) 0.0s
=> WARN: UndefinedArgInFrom: FROM argument 'DOCKER_ARCH' is not declared (line 30) 0.0s
=> WARN: UndefinedArgInFrom: FROM argument 'DOCKER_ARCH' is not declared (line 46) 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:22.04 0.4s
=> [internal] load metadata for docker.io/library/golang:1.19 0.4s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 52B 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 224B 0.0s
=> CACHED [corim_builder 1/12] FROM docker.io/library/golang:1.19@sha256:3025bf670b8363ec9f1b4c4f27348e6d9b7fec607c47e401e40df816853e743a 0.0s
=> CACHED [stage-2 1/17] FROM docker.io/library/ubuntu:22.04@sha256:0e5e4a57c2499249aafc3b40fcd541e9a456aab7296681a3994d631587203f97 0.0s
=> => resolve docker.io/library/ubuntu:22.04@sha256:0e5e4a57c2499249aafc3b40fcd541e9a456aab7296681a3994d631587203f97 0.0s
=> CANCELED [go_builder 2/2] RUN set -eux; echo "iteration 0"; git clone https://github.com/veracruz-project/proxy_attestation_server.git --branch dreemkiller_sev --t 0.3s
=> CACHED [corim_builder 2/12] RUN set -eux; go install github.com/veraison/corim/cocli@latest 0.0s
=> CACHED [corim_builder 3/12] COPY MyComidPsaIak.json /go/ 0.0s
=> CACHED [corim_builder 4/12] COPY AWSNitroComid.json /go/ 0.0s
=> CACHED [corim_builder 5/12] COPY corimMini.json /go/ 0.0s
=> CACHED [corim_builder 6/12] COPY AMDSEVSNP.json /go/ 0.0s
=> ERROR [corim_builder 7/12] RUN cocli comid create --template MyComidPsaIak.json 0.1s
=> CANCELED [stage-2 2/17] RUN apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y bash-completion bc bison 0.2s
------
> [corim_builder 7/12] RUN cocli comid create --template MyComidPsaIak.json:
0.104 Error: 1/1 creations(s) failed
0.104 >> creation failed for "": error decoding template from MyComidPsaIak.json: error unmarshalling field "Triples": error unmarshalling field "AttestVerifKeys": type not set
------
Dockerfile:39
--------------------
37 | COPY corimMini.json /go/
38 | COPY AMDSEVSNP.json /go/
39 | >>> RUN cocli comid create --template MyComidPsaIak.json
40 | RUN cocli comid create --template AWSNitroComid.json
41 | RUN cocli comid create --template AMDSEVSNP.json
--------------------
ERROR: failed to solve: process "/bin/sh -c cocli comid create --template MyComidPsaIak.json" did not complete successfully: exit code: 1
make: *** [Makefile:48: base] Error 1
To Reproduce
run make localci-build inside veracruz/docker folder.
Expected behaviour
The docker should be properly built and run
Screenshots, terminal output, or logs
Added the full log.
Environment, Git commit hash, and configuration
CPU: Intel 9th gen
OS: Ubuntu 220.4
Docker: version 27.3.1
Additional context
Docker is installed in the system
The text was updated successfully, but these errors were encountered:
Describe the bug
I am trying to build the docker image for localci and linux for veracruz. But I am getting the following error:
=> ERROR [corim_builder 7/12] RUN cocli comid create --template MyComidPsaIak.json
I do not understand what is the root cause of the error and how to resolve it. Any help or leads in this regard will be greatly appreciated.
Full log:
To Reproduce
run
make localci-build
insideveracruz/docker
folder.Expected behaviour
The docker should be properly built and run
Screenshots, terminal output, or logs
Added the full log.
Environment, Git commit hash, and configuration
CPU: Intel 9th gen
OS: Ubuntu 220.4
Docker: version 27.3.1
Additional context
Docker is installed in the system
The text was updated successfully, but these errors were encountered: