Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: allow docker image use for non-root users #122

Merged
merged 3 commits into from
Sep 14, 2022
Merged

feat!: allow docker image use for non-root users #122

merged 3 commits into from
Sep 14, 2022

Commits on Sep 13, 2022

  1. refactor!: remove legacy CLI path logic

    The minimum supported CLI version is currently v3.8.0-rc2 and enough
    time has passed that CLI versions prior to v2.2.0 are no longer expected
    to exist in the wild. That is when the Phylum config and binary paths
    changed, to adhere to the XDG Base Directory Spec.
    
    This change removes support for use of these legacy CLI version paths.
    
    BREAKING CHANGE: CLI installs prior to v2.2.0 are no longer supported.
    maxrake committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    3d669a1 View commit details
    Browse the repository at this point in the history
  2. refactor: use constants for minimum supported CLI versions

    This change should make it easier to update the minimum supported CLI versions as they progress and make changes that require different minimum versions for both new and existing installations.
    maxrake committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    bdcd78e View commit details
    Browse the repository at this point in the history
  3. feat: allow docker image use for non-root users

    The Dockerfile has been updated to install the `phylum` package in a
    Python virtual environment, which is accessible by non-root users of the
    image. The `phylum-init` script was updated to provide a hidden option
    for installing the CLI in a globally accessible directory. That option
    is meant to be used in very limited circumstances, namely the Dockerfile
    for image creation.
    
    Closes #118
    maxrake committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    8147881 View commit details
    Browse the repository at this point in the history