occlum/tools/docker
Zheng, Qi 36990fc97c Remove obsolete dockerfiles
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-09-22 12:54:39 +08:00
..
ci Seperate ssl generation with environment preparation 2021-09-03 18:42:50 +08:00
build_image.sh Re-enable aliyunlinux 3 image as default aliyunlinux image 2021-07-23 14:03:33 +08:00
Dockerfile.aliyunlinux3 Update the openanolis URL in alinux3 docker file 2021-09-15 14:49:25 +08:00
Dockerfile.centos8.2 Add rsync into the docker image 2021-09-15 14:49:25 +08:00
Dockerfile.ubuntu18.04 Add rsync into the docker image 2021-09-15 14:49:25 +08:00
README.md Update base image from CentOS 8.1 to CentOS 8.2 2021-03-03 16:07:51 +08:00
start_aesm.sh Fix docker image for SGX1 HW 2021-03-15 10:33:32 +08:00

Building Occlum Docker images

This folder contains scripts and Dockerfiles for users to build the Docker images for Occlum. An Occlum Docker image sets up the development environment for Occlum and also gets Occlum preinstalled.

Currently, three Linux OS distributions are supported: Ubuntu 18.04, CentOS 7.5 and CentOS 8.1.

How to Build

To build an Occlum Docker image, run the following command

./build_image.sh <OCCLUM_LABEL> <OS_NAME>

where <OCCLUM_LABEL> is an arbitrary string chosen by the user to describe the version of Occlum preinstalled in the Docker image (e.g., "latest", "0.15.0", and "prerelease") and <OS_NAME> is the name of the OS distribution that the Docker image is based on. Currently, <OS_NAME> must be one of the following values: ubuntu18.04 and centos8.2.

The resulting Docker image will have occlum/occlum:<OCCLUM_LABEL>-<OS_NAME> as its label.