If you're interested in contributing it to the community, we maintain the openshift-s2i github org (https://github.com/openshift-s2i) for general s2i images created by the community. We'd love to include this project there.
On Mon, Aug 1, 2016 at 8:41 AM, Skarbek, John <[email protected]> wrote: > Thanks Ben, > > That indeed was the root cause. > > BTW, if you by chance have any feedback on this repo, it’d be greatly > appreciated. I know it doesn’t match the s2i’s that red hat maintains, but > I think having this available would be beneficial. I have a feeling this > web framework is going to become quite popular quickly. > > > > -- > John Skarbek > > On July 31, 2016 at 22:24:42, Ben Parees ([email protected]) wrote: > > I think it actually is related to you building it with docker 1.12 and > pushing it using that client, there is a known manifest compatibility issue > which prevents openshift from pulling images pushed with docker 1.10+. > > There are two ways you can work around this for now: > 1) rebuild/push the image using docker 1.9 > > or > > 2) instead of using an imagestream in your buildconfig, use a DockerImage > reference and just specify the pull spec ( > docker.io/jtslear/phoenix-builder:latest > <https://urldefense.proofpoint.com/v2/url?u=http-3A__docker.io_jtslear_phoenix-2Dbuilder-3Alatest&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=FvoVCWa1yrKKCoCpoeb4ek1MUxFgqb8YSlUU9JU1Mhc&s=OlgHByRaEHWTCML5lKLAPQYO0jAA-GsPH-GH8qITq_8&e=> > ) > > > On Sun, Jul 31, 2016 at 9:29 PM, Skarbek, John <[email protected]> > wrote: > >> Good Morning, >> >> >> I'm playing around with the openshift dev preview, in doing so I'm toying >> around with creating a custom s2i builder specifically for the phoenix web >> framework. While it's not feature complete, I've had a working example up >> until today. After updating the builder image, I'm struggling to figure >> out why openshift can't pull it down to complete a build. I've >> published my custom builder in the public on dockerhub. >> >> >> After importing the image stream and providing the builder my source >> code, initiating a build will fail. Here's the log output >> >> >> I0731 21:11:23.044337 1 builder.go:57] Master version >> "v3.2.1.10-1-g668ed0a", Builder version "v3.2.1.10-1-g668ed0a" >> I0731 21:11:23.055778 1 builder.go:145] Running build with cgroup >> limits: api.CGroupLimits{MemoryLimitBytes:536870912, CPUShares:61, >> CPUPeriod:100000, CPUQuota:100000, MemorySwap:536870912} >> I0731 21:11:23.062868 1 sti.go:206] The value of ALLOWED_UIDS is >> [1-] >> I0731 21:11:23.062889 1 sti.go:214] The value of DROP_CAPS is >> [KILL,MKNOD,SETGID,SETUID,SYS_CHROOT] >> I0731 21:11:23.068774 1 docker.go:351] Image >> "jtslear/phoenix-builder@sha256:3559cc2a714e5075fff0591e1d33793d175bacdb601c0afd534dcd63f153a18b" >> not available locally, pulling ... >> I0731 21:11:23.068813 1 docker.go:373] Pulling Docker image >> jtslear/phoenix-builder@sha256:3559cc2a714e5075fff0591e1d33793d175bacdb601c0afd534dcd63f153a18b >> ... >> I0731 21:11:23.972778 1 sti.go:233] Creating a new S2I builder with >> build config: "Builder >> Image:\t\t\tjtslear/phoenix-builder@sha256:3559cc2a714e5075fff0591e1d33793d175bacdb601c0afd534dcd63f153a18b\nSource:\t\t\t\tfile:///tmp/s2i-build707398611/upload/src#master\nOutput >> Image >> Tag:\t\ttest-app/phoenix-example-7:190eb9d9\nEnvironment:\t\t\tOPENSHIFT_BUILD_NAME=phoenix-example-7,OPENSHIFT_BUILD_NAMESPACE=test-app,OPENSHIFT_BUILD_SOURCE= >> https://github.com/jtslear/phoenix-example.git,OPENSHIFT_BUILD_REFERENCE=master\nIncremental >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jtslear_phoenix-2Dexample.git-2COPENSHIFT-5FBUILD-5FREFERENCE-3Dmaster-255CnIncremental&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=FvoVCWa1yrKKCoCpoeb4ek1MUxFgqb8YSlUU9JU1Mhc&s=vBeMQ7izCRBrzEghC-Qrsl-AwwFlDEacWLYN7aT3IkY&e=> >> Build:\t\tdisabled\nRemove Old Build:\t\tdisabled\nBuilder Pull >> Policy:\t\tif-not-present\nPrevious Image Pull >> Policy:\talways\nQuiet:\t\t\t\tdisabled\nLayered >> Build:\t\t\tdisabled\nWorkdir:\t\t\t/tmp/s2i-build707398611\nDocker >> NetworkMode:\t\tcontainer:6f1accf9aec56c68763142e1c31a21594619f2167a886f396c1fbe740c682b32\nDocker >> Endpoint:\t\tunix:///var/run/docker.sock\n" >> I0731 21:11:23.976278 1 docker.go:351] Image >> "jtslear/phoenix-builder@sha256:3559cc2a714e5075fff0591e1d33793d175bacdb601c0afd534dcd63f153a18b" >> not available locally, pulling ... >> I0731 21:11:23.976316 1 docker.go:373] Pulling Docker image >> jtslear/phoenix-builder@sha256:3559cc2a714e5075fff0591e1d33793d175bacdb601c0afd534dcd63f153a18b >> ... >> F0731 21:11:24.590949 1 builder.go:204] Error: build error: unable >> to get jtslear/phoenix-builder@sha256 >> :3559cc2a714e5075fff0591e1d33793d175bacdb601c0afd534dcd63f153a18b >> >> >> Unfortunately, openshift doesn't say WHY it was unable to get the >> image. This did previously work until I updated the image. The only thing >> at this point I can think of, is that I recently built the image on version >> 1.12 of docker. But I'm kinda brushing that off, cuz I've seen openshift >> complain in the past about manifest versions; and secondly when I started >> this project, I was using docker 1.12 beta... >> >> >> For additional reference, my s2i builder source code: >> https://github.com/jtslear/s2i-phoenix >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jtslear_s2i-2Dphoenix&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=FvoVCWa1yrKKCoCpoeb4ek1MUxFgqb8YSlUU9JU1Mhc&s=0MLU8bRK1ByulHHFDoFhBUEonypvSepfgoJtosA2Yuk&e=> >> >> >> John T Skarbek >> >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.openshift.redhat.com/openshiftmm/listinfo/users >> <https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openshift.redhat.com_openshiftmm_listinfo_users&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=FvoVCWa1yrKKCoCpoeb4ek1MUxFgqb8YSlUU9JU1Mhc&s=OdpV-2LZDuXiXua-EOYfcwdvz9gB4CCD0vG9_alT4Pg&e=> >> >> > > > -- > Ben Parees | OpenShift > > -- Ben Parees | OpenShift
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
