Skip to content

Commit

Permalink
docker: update paths for dockefiles
Browse files Browse the repository at this point in the history
Signed-off-by: Xynnn007 <[email protected]>
  • Loading branch information
Xynnn007 committed Nov 3, 2023
1 parent 5b7b631 commit e7fdc4d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion attestation-service/Dockerfile.as
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN curl -L https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key
apt-get update && apt-get install -y libtdx-attest-dev libsgx-dcap-quote-verify-dev

# Build and Install gRPC attestation-service
RUN cargo install --path bin/grpc-as
RUN cargo install --path attestation-service/bin/grpc-as


FROM ubuntu:22.04
Expand Down
2 changes: 1 addition & 1 deletion attestation-service/Dockerfile.rvps
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COPY . .

RUN apt-get update && apt-get install protobuf-compiler -y

RUN cargo install --path bin/rvps
RUN cargo install --path attestation-service/bin/rvps

FROM debian:bullseye-slim

Expand Down
2 changes: 1 addition & 1 deletion kbs/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ WORKDIR /usr/src/kbs
COPY . .

ARG KBS_FEATURES=coco-as-builtin,rustls,resource,opa
RUN cargo install --locked --path src/kbs --no-default-features --features ${KBS_FEATURES}
RUN cargo install --locked --path kbs/src/kbs --no-default-features --features ${KBS_FEATURES}

FROM debian:stable-slim

Expand Down
2 changes: 1 addition & 1 deletion kbs/docker/Dockerfile.amber
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN tar -C /usr/local -xzf go1.20.1.linux-amd64.tar.gz
ENV PATH="/usr/local/go/bin:${PATH}"

# Build and Install KBS
RUN cargo install --path src/kbs --no-default-features --features amber-as,rustls,resource,opa
RUN cargo install --path kbs/src/kbs --no-default-features --features amber-as,rustls,resource,opa

FROM ubuntu:22.04

Expand Down
2 changes: 1 addition & 1 deletion kbs/docker/Dockerfile.coco-as-grpc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN tar -C /usr/local -xzf go1.20.1.linux-amd64.tar.gz
ENV PATH="/usr/local/go/bin:${PATH}"

# Build and Install KBS
RUN cargo install --path src/kbs --no-default-features --features coco-as-grpc,resource,opa,rustls
RUN cargo install --path kbs/src/kbs --no-default-features --features coco-as-grpc,resource,opa,rustls


FROM ubuntu:22.04
Expand Down

0 comments on commit e7fdc4d

Please sign in to comment.