How to Migrate to Apline Linux
Since version 2301
, healthsamurai/aidboxone
and healthsamurai/multibox
images are based on Alpine Linux and run from a non-root user. User name aidbox, uid=1000
If you use aidboxone
as a base image to build your own containers, you need to make the following changes
- Use apk
instead of
yum
- Use
/bin/sh
instead of/bin/bash
If you use volumes, you will need to change the access rights
- change zen package cache dir ownership (when the volume is mounted)
chown -R $APPLICATION_USER /zen/package/dir
- if you need to connect to the Aidbox pod in k8s by root you can use this repository https://github.com/jordanwilson230/kubectl-plugins