Alpine: Difference between revisions
Jump to navigation
Jump to search
Created page with " apk add apk update ls /var/cache/apk/*" |
No edit summary |
||
| Line 1: | Line 1: | ||
apk add | Alpine is a minimalistic Linux distribution with a focus on security based on the musl library. It is mainly used to build small docker image. | ||
apk update | |||
apk is the package manager of Alpine. | |||
=== Apk === | |||
{| class="wikitable" | |||
!Command | |||
! | |||
|- | |||
|apk add | |||
|Add the package specified as an argument | |||
If the --no-cache argument is given, there is no need to remove the cache in /var/cache/apk/ and to update the index.<ref>https://github.com/gliderlabs/docker-alpine/blob/master/docs/usage.md#disabling-cache</ref> | |||
|- | |||
|apk update | |||
|Fetch the latest index and store in /var/cache/apk/ | |||
|- | |||
| | |||
| | |||
|} | |||
Revision as of 05:19, 11 February 2018
Alpine is a minimalistic Linux distribution with a focus on security based on the musl library. It is mainly used to build small docker image.
apk is the package manager of Alpine.
Apk
| Command | |
|---|---|
| apk add | Add the package specified as an argument
If the --no-cache argument is given, there is no need to remove the cache in /var/cache/apk/ and to update the index.[1] |
| apk update | Fetch the latest index and store in /var/cache/apk/ |