-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
Jenkins 2.49 on Ubuntu 16.04 on Azure VM.
Docker Commons Plugin - 1.6
Docker Pipeline - 1.10
When building using pipeline definition as follows:
dir('src/MyProject') { script { def img = docker.build "mycompany/myproject:v0.0.${env.BUILD_NUMBER}" docker.withRegistry('https://mycompany.azurecr.io/', 'mycompany.azurecr.io') { img.push() img.push 'latest' } } }
The stage fails despite docker image built correctly.
[JENKINS-42890] Could not find FROM instruction in Dockerfile when it starts with a BOM
Priority | Original: Major [ 3 ] | New: Blocker [ 1 ] |
Component/s | New: docker-workflow-plugin [ 20625 ] | |
Component/s | Original: docker-commons-plugin [ 20628 ] | |
Component/s | Original: docker-plugin [ 18724 ] | |
Assignee | Original: magnayn [ magnayn ] |
Summary | Original: Could not find FROM instruction in Dockerfile. | New: Could not find FROM instruction in Dockerfile when it starts with a BOM |