Code Monkey home page Code Monkey logo

Comments (6)

cgwalters avatar cgwalters commented on September 17, 2024

OK, this does reproduce for me locally with oc cluster up for origin-clients-3.9.0-2.fc28.x86_64.

The thing that's bugging me is that I tried to bisect imagebuilder and wasn't successful in reproducing the bug invoking imagebuilder directly.

from coreos-assembler.

cgwalters avatar cgwalters commented on September 17, 2024
$ oc version
oc v3.11.0-alpha.0+ba21ba0-53
kubernetes v1.10.0+b81c8f8
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://api.ci.openshift.org:443
openshift v3.11.0-alpha.0+875f246-824
kubernetes v1.11.0+d4cacc0

But 3.11 should contain the fix I thought.

from coreos-assembler.

cgwalters avatar cgwalters commented on September 17, 2024

This broke with 236cf91#diff-3254677a7917c6c01f55212f86c57fbf which works with docker/podman but not OpenShift.

from coreos-assembler.

miabbott avatar miabbott commented on September 17, 2024

This broke with 236cf91#diff-3254677a7917c6c01f55212f86c57fbf which works with docker/podman but not OpenShift.

That would explain why it worked for me just fine locally, since I used podman build

from coreos-assembler.

cgwalters avatar cgwalters commented on September 17, 2024

Wait...I am confused. I am playing with this simple Dockerfile:

FROM registry.fedoraproject.org/fedora:28
COPY [A-Za-z]* /src/
RUN test '!' -d /src/.git
COPY .git /src/.git
WORKDIR /src
RUN test -d /src/.git

Works fine in buildah/docker. But it's failing on the COPY .git step - is OpenShift not providing the full git directory as context?

from coreos-assembler.

miabbott avatar miabbott commented on September 17, 2024

I did some tinkering with this and it looks like the .git directories are omitted (or reaped) when the git clone is done.

I found this issue for s2i which looks similar - openshift/source-to-image#457

from coreos-assembler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.