Alpine Package Manager Tools
This supports packageInstall --manager apk.
Usage
apkIsInstalled [ --help ]
Is this an Alpine system and is apk installed?
Arguments
--help- Flag. Optional. Display this help.
Return codes
0- System is an alpine system and apk is installed1- System is not an alpine system or apk is not installed
Usage
alpineContainer [ --help ] [ --env-file envFile ] [ --env envVariable=envValue ] [ --platform platform ] [ extraArgs ]
Open an Alpine container shell
Arguments
--help- Flag. Optional. Display this help.--env-file envFile- File. Optional. One or more environment files which are suitable to load for docker; must be valid --env envVariable=-envValue- File. Optional. One or more environment variables to set.--platform platform- String. Optional. Platform to run (arm vs intel).extraArgs- Mixed. Optional. The first non-file argument toalpineContaineris passed directly through todocker runas arguments
Return codes
1- If already inside docker, or the environment file passed is not valid0- SuccessAny-docker runerror code is returned if non-zero
Usage
isAlpine [ --help ]
Is this an Alpine system?
Arguments
--help- Flag. Optional. Display this help.
Return codes
0- Success1- Environment error2- Argument error