Skip to content

A minimal Docker image that provides pip-tools in order to lock Python dependencies.

License

Notifications You must be signed in to change notification settings

DD-DeCaF/pip-compile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal Python Environment for pip-compile

This repository defines a minimal Docker image based on Alpine Linux 3.8 and Python 3.6 that provides a minimal environment with pip-tools in order to lock requirements files.

Usage

Simply mount your requirements file to /opt and run the container. The Docker entrypoint is pip-compile --verbose --generate-hashes.

docker run --rm --mount "source=.,target=/opt,type=bind" pip-compile:3.6-alpine3.8 requirements.in

This will create a corresponding compiled .txt file in the mounted directory; in this example ./requirements.txt.

Copyright

  • Copyright © 2019, Novo Nordisk Foundation Center for Biosustainability, Technical University of Denmark.
  • Free software licensed under the Apache License, Version 2.0.

About

A minimal Docker image that provides pip-tools in order to lock Python dependencies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published