Deploy an Alpine Package

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

To deploy an Alpine Linux package into an Artifactory repository you can use the following cURL with the relevant path parameters:

cURL

curl  -H 'X-JFrog-Art-Api:<API_KEY>' -XPUT "https://localhost:8080/artifactory/alpine-local/<BRANCH>/<REPOSITORY>/<ARCHITECTURE>/<ALPINE_PACKAGE_NAME>" -T <PATH_TO_FILE>

Parameter

Example

branch

v3.9

repository

main

architecture

x86

alpine_package name_

grep-3.1-r2.apk

Deploy an Alpine Package Using the UI

To deploy an Alpine Linux package to Artifactory, do the following:

  1. Navigate to Artifactory | Artifacts | Deploy.

  2. Select your Alpine Linux repository as the Target Repository.

  3. In the Target Path, specify the relative path in the target repository:

<BRANCH>/<REPOSITORY>/<ARCHITECTURE>/<ALPINE_PACKAGE_NAME>

Deployment Structure

For your files to be indexed properly, it is very important to ensure that all deployment of Alpine Linux packages into Artifactory occurs under the <BRANCH>/<REPOSITORY>/<ARCHITECTURE>/ structure. Packages deployed anywhere else will not be indexed.

image (5).png