An open API service indexing awesome lists of open source software.

https://github.com/anjakammer/dockerfile-parser

Parses a Dockerfile file and outputs the last occurring value of a specified key
https://github.com/anjakammer/dockerfile-parser

dockerfile nodejs parser

Last synced: about 2 months ago
JSON representation

Parses a Dockerfile file and outputs the last occurring value of a specified key

Awesome Lists containing this project

README

          

[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)

## Parses a Dockerfile file and outputs the last occurring value of a specified key

### Required Environment Variables
| Key | Description |
| -------------------|----------------------------------------|
| `DOCKERFILE_PATH` | path to parse of the Dockerfile |
| `KEY` | e.g. 'EXPOSE', 'FROM', 'ENV', ... |