Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Commit

Permalink
Update Docker base image version and install openssl
Browse files Browse the repository at this point in the history
Now we use ubuntu 20.04 as base image, the openssl version is 1.1.1
where the location of `libssl.so` is different from version 3.0+
`csv-rs` crate now can only find `libssl.so` with version 3.0+

Signed-off-by: Jiale Zhang <[email protected]>
  • Loading branch information
jialez0 authored and Xynnn007 committed Oct 16, 2023
1 parent 5ec1624 commit 871ae51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.as
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ RUN curl -L https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key
RUN cargo install --path bin/grpc-as


FROM ubuntu:20.04
FROM ubuntu:22.04

LABEL org.opencontainers.image.source="https://github.com/confidential-containers/attestation-service"

# Install TDX Runtime Dependencies
RUN apt-get update && apt-get install curl gnupg -y && \
RUN apt-get update && apt-get install curl gnupg openssl -y && \
rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log} /tmp/* /var/tmp/*
RUN curl -L https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | tee intel-sgx-deb.key | apt-key add - && \
Expand Down

0 comments on commit 871ae51

Please sign in to comment.