conjurdemos / cdemo

A tour of Conjur including LDAP sync, scalable machine identity, policy-based mgmt, ssh key mgmt and Splunk integration.
21 stars 18 forks source link

Jenkins image and containers do not build #84

Open bcmonk opened 5 years ago

bcmonk commented 5 years ago

Only error message after running bin/install....

TASK [jenkinsConfig : Build curl image] ***** Tuesday 12 March 2019 10:48:36 -0400 (0:00:01.238) 0:06:42.753 * Tuesday 12 March 2019 10:48:36 -0400 (0:00:01.238) 0:06:42.752 ***** fatal: [default]: FAILED! => {"changed": false, "msg": "Error building curl_image - code: 1, message: The command '/bin/sh -c apk add --update bash && rm -rf /var/cache/apk/' returned a non-zero code: 1, logs: [u'Step 1/6 : FROM alpine', u'\n', u' ---> 5cb3aa00f899\n', u'Step 2/6 : RUN apk add --update bash && rm -rf /var/cache/apk/', u'\n', u' ---> Running in 781bef5dc39f\n', u'fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz\\n', u'\x1b[91mERROR: http://dl-cdn.alpinelinux.org/alpine/v3.9/main: IO ERROR\nWARNING: Ignoring APKINDEX.b89edf6e.tar.gz: No such file or directory\n\x1b[0m', u'fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz\\n', u'\x1b[91mERROR: http://dl-cdn.alpinelinux.org/alpine/v3.9/community: IO ERROR\nWARNING: Ignoring APKINDEX.737f7e01.tar.gz: No such file or directory\n\x1b[0m', u'\x1b[91mERROR: unsatisfiable constraints:\n\x1b[0m', u' bash (missing):\n required by: world[bash]\n', u'Removing intermediate container 781bef5dc39f\n']"}

ryanprior commented 5 years ago

I'm working on transitioning the Jenkins install process to not require building any images on the fly. You can see the beginning of this work in the external-jenkins-image branch.

I'm not sure right now whether the "curl image" is still in use or whether it's vestigial. I'll keep this issue up to date. If it's still needed I can move the build outside of the install process, and if not I can remove this step and clean things up.