Alpine: Difference between revisions

From Wiki :-)
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 15: Line 15:
|apk update
|apk update
|Fetch the latest index and store in /var/cache/apk/
|Fetch the latest index and store in /var/cache/apk/
|-
|
|
|}
|}
== References ==

Latest 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/

References