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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydockerfile-0.0.3.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

pydockerfile-0.0.3-py2.py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 2 Python 3

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