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.9.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

pixi_rocker-0.0.9-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.9.tar.gz.

File metadata

  • Download URL: pixi_rocker-0.0.9.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.9.tar.gz
Algorithm Hash digest
SHA256 c9c405f9bec6e5139207a7973905b8e92045f89985eb4ccf987c25a48f4a2057
MD5 949ad70151e5679513d8e3f216530db6
BLAKE2b-256 982ed68f56cc239c23398ae2e3fe800cdaf3299d61572d265f6198883dec9555

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pixi_rocker-0.0.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d838dde7b31eb776525e949004eaedfcacb7472193584c36ff14c9a4f27fdd7e
MD5 52382cfda0d0ef3d2a5f845ba05113ec
BLAKE2b-256 4a81c5dba72dfd5ec71b403b81ec6dc99df457826e7feee9e0d81347e8b25c56

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