Sample Header Ad - 728x90

Add only a part of an Alpine package

0 votes
1 answer
58 views
A coworker recently shelled into an Alpine-based container and ran apk add with some special additional syntax such that only a part of a package was installed. More specifically, he wanted only the command-line client of the redis package (which includes both client and server). I've scoured the web, and read through all of the relevant [man pages](https://man.archlinux.org/listing/extra/apk-tools/) , but I can't seem to find the invocation that he used.
Asked by chb (699 rep)
Mar 28, 2025, 08:24 PM
Last activity: Apr 2, 2025, 03:59 PM