apk is the command used to install any package in the alpine. So you can simply replace apt or apt-get commands with apk or apk add respectively. Following is an example to install wget in Alpine. $ RUN apk add --no-cache wget