镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Set PYTHONPATH in Dockerfile not working #44

Open

Description

@dineshvelmuruga

If I set PYTHONPATH ins dockerfile like below, its not getting reflected in the container

ENV PYTHONPATH="$PYTHONPATH:/path/to/libraries/"

Activity

  1. jcaloud commented on Jan 7, 2021

    @jcaloud

    Hi,

    Made it work for the databricksruntime/python image with:

    ENV PATH="/databricks/conda/envs/dcs-minimal/bin:${PATH}"

    Hope this helps

  2. evanye commented on Jan 14, 2021

    @evanye
    Contributor

    @dineshvelmuruga PYTHONPATH may be overwritten. If you want to install python libraries, can you take a look at our virtualenv or conda docker images?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions