Upgrade Alpine Packages

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

You can use the -u flag with the apk add command to upgrade an installed package to the latest available version from the repository.

Prerequisite: Run the apk update command to sync your package index with the repository and make sure your system is aware of the latest available versions.

To upgrade a package:

Run the following command:

apk add -u <PACKAGE>

Where:

  • <PACKAGE>: The name of the target package in your Artifactory repository

For example:

apk add -u my-app