Skip to main content

A rocker extension for adding the pixi package manager an existing docker image

Project description

pixi_rocker

Continuous Integration Status

Ci Codecov GitHub issues GitHub pull-requests merged GitHub release License Python Pixi Badge

Intro

This is a rocker extension for adding pixi to an existing docker image. Look at the rocker GitHub page for more context of how rocker and rocker extensions work, but in a nutshell rocker lets you add custom capabilities to existing docker containers. Rocker extensions

Pixi is a cross-platform package manager based on the conda ecosystem. It provides a simple and performant way of reproducing a development environment and running user defined tasks and workflows. It is more lightweight than docker, but does not provide the same level of isolation or generality.

But Why??

The most common question I get is is why would you need to use pixi in docker as pixi is already taking care of your environment for you. Unfortunately there are some packages/configuration that pixi is not able to handle yet and so one way of handling that is managing those dependencies/configuration in docker and leave the the rest up to pixi.

Another benefit of pixi in docker is that you are more isolated from your host machine and have more flexibility to make changes without worrying about conflicting with other projects.

If you use vscode to attach to your development container it makes it easier to set up specific extensions for each project that don't need to be installed globally.

Installation

pip install pixi-rocker

Usage

To install pixi in an image use the --pixi flag

#add pixi to the ubuntu:22.04 image
rocker --pixi ubuntu:22.04

# add pixi to the nvidia/cuda image
rocker --pixi nvidia/cuda

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

pixi_rocker-0.0.8.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

pixi_rocker-0.0.8-py2.py3-none-any.whl (4.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pixi_rocker-0.0.8.tar.gz.

File metadata

  • Download URL: pixi_rocker-0.0.8.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for pixi_rocker-0.0.8.tar.gz
Algorithm Hash digest
SHA256 a6086fa830edc87887bdcea890f166bc3bfbddb19b3e402184a44e02f6a3a5ba
MD5 fcd40e4ea767b4ae70c9f594f7c2b5f9
BLAKE2b-256 b70cad667e6f2a3f7ae28b7502038bffd3844a06002b80f544400c5ec7f6e1ca

See more details on using hashes here.

File details

Details for the file pixi_rocker-0.0.8-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pixi_rocker-0.0.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 67ade419396012f20dbf29952a9018f3e8f98bbc0af31e5c54a7923c8dd938ff
MD5 2dec41083f339cdf38f15bf9ab950fe9
BLAKE2b-256 996bead89a9edbeaf626555f96e8314433123090b1995daa2f5f3906aa07f963

See more details on using hashes here.

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