Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish a docker file for building the Mystikos base container #1358

Open
jxyang opened this issue Jun 15, 2022 · 1 comment
Open

Publish a docker file for building the Mystikos base container #1358

jxyang opened this issue Jun 15, 2022 · 1 comment
Assignees
Labels
area/tooling issues against build tooling status/triaged Status: Triaged

Comments

@jxyang
Copy link
Contributor

jxyang commented Jun 15, 2022

We publish the base container as part of the Mystikos release, which tends to occur every few months. Users who build their applications on top of the base container are likely to miss the interim CVE fixes. We should publish the docker file for users to build a Mystikos base container themselves.

@CyanDevs CyanDevs self-assigned this Jun 15, 2022
@CyanDevs
Copy link
Collaborator

CyanDevs commented Jun 15, 2022

We have the following available in our repository which should cover this use-case:
Dockerfile for Mystikos base container: https://github.com/deislabs/mystikos/blob/main/.jenkins/docker/base/Dockerfile
Build script for the Dockerfile: https://github.com/deislabs/mystikos/blob/main/.jenkins/docker/base/build.sh

An example of using the build script to build a Ubuntu 18.04 Mystikos base container would be:

chmod +x build.sh
mkdir build
cd build
../build.sh -m "0.9.0" -o "latest" -u "18.04" -t "myTag"

Note that -o can take specific tags (e.g. 2022.06.1626 ) as well. Open Enclave base container images are hosted on Azure Container Registry now, and versions can be found at: https://github.com/openenclave/openenclave/blob/master/DOCKER_IMAGES.md and I will make a PR to update this shortly.

Any feedback on these would be appreciated.

@paulcallen paulcallen added status/triaged Status: Triaged area/tooling issues against build tooling labels Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tooling issues against build tooling status/triaged Status: Triaged
Projects
None yet
Development

No branches or pull requests

3 participants