tutorialworks / comments

Comments on our articles
https://www.tutorialworks.com
4 stars 1 forks source link

openshift-dockerfile/ #15

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

4 Ways to do a Dockerfile Build in OpenShift

When you want to build a Docker image in OpenShift using a Dockerfile, here are three ways to do it, with example YAML

https://www.tutorialworks.com/openshift-dockerfile/

manishdash12 commented 2 years ago

Sorry, but I couldnt help but notice that there are only 3 build config examples? :D

monodot commented 2 years ago

@manishdash12 This is an excellent observation! :D I'll fix this in the next update. Thanks for commenting.

Venki-github-s commented 2 years ago

Hi Tom Donohue , in docker strategy how to provide credentials to pull the artifacts from private maven repo configured (jfrog) .

Downloading from central: https://artifactory.mycomp.com/artifactory/java-snapshot-local/com/test/common-security/1.0.0/common-security-1.0.0.pom

Failed to execute goal on project demo-app: Could not resolve dependencies for project com.example:demo-app:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at com.mycomp:common-security:jar:1.0.0: Failed to read artifact descriptor for com.mycomp:common-security:jar:1.0.0: Could not transfer artifact com.mycomp:common-security:pom:1.0.0 from/to central (https://artifactory.mycomp.com/artifactory/java-snapshot-local): authentication failed for https://artifactory.mycomp.com/artifactory/java-snapshot-local/com/test/common-security/1.0.0/common-security-1.0.0.pom, status: 401 Unauthorized -> [Help 1] [ERROR]