ARTIFACTORY: How to Change an Artifactory Docker File

ARTIFACTORY: How to Change an Artifactory Docker File

AuthorFullName__c
Yonatan Brand
articleNumber
000004766
ft:sourceType
Salesforce
FirstPublishedDate
2020-02-17T13:28:30Z
lastModifiedDate
2020-02-17
VersionNumber
5

Docker files are text documents, which can contain all the commands you could call on the
command line to assemble a Docker image. In some instances, you might need to edit a default
image for Artifactory. For example, to add additional environment variables or commands to be
performed when creating a container.


Do the following to view the Artifactory's Docker file inside the Artifactory container:

$ docker exec -it [IMAGE_NAME] bash

Do the following to print the Artifactory Docker file:

$ cat /docker/artifactory-pro/Dockerfile.artifactory


Published: Feb. 17, 2020
Last updated: May 24, 2021


Keywords: Dockerfile, Docker Image