Skip to content

Add pipenv & sshpass to base image

Adrien Kohlbecker requested to merge ak/add-software into master

What does this MR do?

Add pipenv, which is used to managed python virtual environments, and sshpass, which is used by ansible to do password authentication.

The former is quite standard, and the latter is tricky to install so I think they're good candidates for inclusion in the base image. I'm using them here !69 (merged)

sshpass itself is tricky. It is explicitly not included by homebrew, and a bunch of homegrown recipes are floating on the internet. I decided to take the best one and host it in Gitlab so we avoid installing random taps from the internet.

See https://github.com/danhper/asdf-python#default-python-packages for how .default-python-packages work to install pipenv

Why was this MR needed?

What's the best way to test this MR?

  • scripts/dev-vm --base-image mr-70-toolchain-10.15.img new
  • SSH to VM
  • Execute pipenv & sshpass

What are the relevant issue numbers?

Edited by Adrien Kohlbecker

Merge request reports