You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.
The next error is obtained, the URL to obtain the rpm is incorrect. The #{@context[:os_version]} is "null" and because of this the URL is badly generated:
My OS is Ubuntu 17.10 artful and I'm using the 0.7.0 for the puppetlabs-image_build
The text was updated successfully, but these errors were encountered:
jmbelvar81
changed the title
Error building when in metadata centos is used as parameter for "from"
Error building images when in metadata file is used centos as parameter for "from" field
Jan 11, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
Creating the metadata file to build images , if you use Centos as distribution, by example:
cmd: "/usr/sbin/apache2,-DFOREGROUND"
expose: 80
image_name: puppetdocker/apachetest
from: centos
The next error is obtained, the URL to obtain the rpm is incorrect. The #{@context[:os_version]} is "null" and because of this the URL is badly generated:
curl: (22) The requested URL returned error: 404 Not Found
error: skipping https://yum.puppetlabs.com/puppet5/puppet5-release-el-.noarch.rpm - transfer failed
If you define the tag for your image, the error is solved. By example, next metadata solve the problem:
cmd: "/usr/sbin/apache2,-DFOREGROUND"
expose: 80
image_name: puppetdocker/apachetest
from: centos:7
My OS is Ubuntu 17.10 artful and I'm using the 0.7.0 for the puppetlabs-image_build
The text was updated successfully, but these errors were encountered: