Skip to content

Files

Latest commit

 

History

History

stoplight-prism

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Stoplight Logo

Stoplight Prism

A docker image for Prism, the command-line tool for Stoplight.io.

Installation

Pull the jamesmessinger/stoplight-prism image from DockerHub

docker pull jamesmessinger/stoplight-prism

Usage

You can run this Docker image just like the Prism CLI:

NOTE: If your prism command needs to access local files, then mount them in the /app directory

docker run -v $(pwd):/app \
  jamesmessinger/stoplight-prism \
  conduct collection.json \
  --spec spec.json \
  --env environment.json

Building Locally

To build/test the image locally on your computer:

  1. Clone this repo
    git clone https://github.com/JamesMessinger/docker-images.git

  2. Build the image
    docker build --tag jamesmessinger/stoplight-prism:latest stoplight-prism

  3. Run the image
    See the usage section above

  4. Publish the image to DockerHub
    docker push jamesmessinger/stoplight-prism:latest