Sign inSign up

Oryx images

Verified Publisher

By Microsoft

Updated over 2 years ago

Product family for all the Oryx images (base images, build image and runtime images)

0

microsoft/oryx-images repository overview

  • latest docker pull mcr.microsoft.com/oryx/build:latest
  • None

About This Image

Oryx is a system for building user code into runnable artifacts, in particular for use with Azure Web Apps. It currently supports Python and Node.js codebases. Built artifacts are expected to be used with one of the runtime images also published under mcr.microsoft.com/oryx.

How to Use this Image

Run docker run mcr.microsoft.com/oryx/build:latest oryx --help.

Configuration

To build and run an app from a repo, follow these approximate steps. An example script follows.

  1. Mount the repo as a volume in Oryx's mcr.microsoft.com/oryx/build container.
  2. Run oryx build ... within the repo directory to build a runnable artifact.
  3. Mount the output directory from build in an appropriate Oryx "run" container, such as mcr.microsoft.com/oryx/node:10.14.
  4. Run oryx ... within the "run" container to write a startup script.
  5. Run the generated startup script, by default /run.sh.
# Run these from the root of the repo.
# build
docker run --volume $(pwd):/repo \
    'mcr.microsoft.com/oryx/build' \
    oryx build /repo --output /repo

# run

# the -p/--publish and -e/--env flags specify and open a host port
docker run --detach --rm \
    --volume $(pwd):/app \
    --env PORT=8080 \
    --publish 8080:8080 \
    'mcr.microsoft.com/oryx/node:10.14' \
    sh -c 'oryx -appPath /app && /run.sh'

# Related Repos

https://github.com/microsoft/Oryx

# Full Tag Listing
https://github.com/microsoft/Oryx/tags

# Support

Please open a [GitHub issue](https://github.com/Microsoft/Oryx/issues/new).

# Feedback

Please open a [GitHub issue](https://github.com/Microsoft/Oryx/issues/new).

# License
- Legal Notice: [Container License Information](https://aka.ms/mcr/osslegalnotice)

This image wraps Docker's [buildpack-deps][] and [debian][] images. It adds
several system packages to these as well as Dotnet, Node.js, Python, Ruby and Go
runtimes and package managers. These packages are governed by their own
included licenses.

[buildpack-deps]: https://github.com/docker-library/buildpack-deps
[debian]: https://github.com/debuerreotype/docker-debian-artifacts/tree/dist-amd64

The Oryx script generator and the scripts used to build this image are licensed
under the MIT license as described in their repo.





Tag Summary

No tags have been pushed to this repository yet.