dockerignore-generate-1.0.7


توضیحات

automatically generate dockerignore data
ویژگی مقدار
سیستم عامل POSIX :: Linux
نام فایل dockerignore-generate-1.0.7
نام dockerignore-generate
نسخه کتابخانه 1.0.7
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Denis Khshaba
ایمیل نویسنده deniskhoshaba@gmail.com
آدرس صفحه اصلی https://github.com/theden/dockerignore-generate
آدرس اینترنتی https://pypi.org/project/dockerignore-generate/
مجوز GPL-2.0
dockerignore-generate ===================== Python (``>=3.6``) cli tool to automatically generate ``.dockerignore`` files Install ------- .. code:: bash pip install dockerignore-generate Usage ----- In a directory with a ``Dockerfile`` .. code:: bash dockerignore-generate will print out the contents of the generated ``.dockerignore`` file. Without arguments the docker build context is assumed to be the curret working directory. Contexts and Dockerfiles ~~~~~~~~~~~~~~~~~~~~~~~~ To speciify a specific context use the ``-c`` flag, and ``-f`` to speciify a ``Dockerfile``, e.g., .. code:: bash dockerignore-generate -f Dockerfile.custom -c ../ To save a the ``.dockerignore`` file, use the ``-s`` flag, and ``-o`` to overwrite an existing file (file will be stored in the docker build context) .. code:: bash dockerignore-generate -f Dockerfile.custom -c ../ -s wrote ../.dockerignore


نحوه نصب


نصب پکیج whl dockerignore-generate-1.0.7:

    pip install dockerignore-generate-1.0.7.whl


نصب پکیج tar.gz dockerignore-generate-1.0.7:

    pip install dockerignore-generate-1.0.7.tar.gz