Skip to main content

Simplistic Dockerfile parsing

Project description

https://travis-ci.org/sbuss/pydockerfile.svg?branch=master https://codecov.io/github/sbuss/pydockerfile/coverage.svg?branch=master

pydockerfile

pydockerfile gives simplistic Dockerfile parsing. It performs no validation.

Installation

pip install pydockerfile

Usage

import pydockerfile
dockerfile = pydockerfile.parse_file('/path/to/Dockerfile')
assert dockerfile.FROM

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page