Skip to content

Commit 23a8cd4

Browse files
committed
Docker build: prepare source as prerequisite
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com>
1 parent efb08df commit 23a8cd4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docker/build/Dockerfile

-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ RUN apt-get update && apt-get install -y \
5353
WORKDIR /linux-sgx
5454
COPY . .
5555

56-
RUN ./download_prebuilt.sh
57-
5856
RUN make sdk_install_pkg_no_mitigation
5957

6058
WORKDIR /opt/intel

docker/build/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ Files in this directory demonstrate how to build and install the SGX SDK and PSW
77
### Prerequisites
88
1. Install [Docker and Compose](https://docs.docker.com/) and configure them properly following their respective installation guide.
99
2. Install [SGX Flexible Launch Control driver](https://github.com/intel/SGXDataCenterAttestationPrimitives/tree/master/driver/linux). **Note**: See below to run with the Legacy Launch Control driver.
10+
3. In the root directory of this repo, prepare source code and download prebuilt binaries:
11+
```
12+
$ make preparation
13+
```
1014

1115
### Run with Docker Compose
1216
This will start AESM and an SGX sample on one terminal using docker-compose.

0 commit comments

Comments
 (0)