Skip to content

Commit c78b0fb

Browse files
authored
Merge pull request #577 from haitaohuang/docker_fix
Docker fix
2 parents d10c025 + 23a8cd4 commit c78b0fb

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-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.

sdk/simulation/urtssim/linux/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ endif
146146
$(BUILD_DIR):
147147
@$(MKDIR) $@
148148

149+
150+
$(OBJ6): | uinst simasm driver_api
151+
149152
$(OBJ4): %.o: %.S
150153
$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
151154

0 commit comments

Comments
 (0)