github.com/openshift/source-to-image@v1.4.1-0.20240516041539-bf52fc02204e/test/integration/images/sti-fake-scripts/Dockerfile (about)

     1  #
     2  # This is fake image used for testing STI. It tests scripts baked inside image.
     3  #
     4  FROM busybox
     5  
     6  RUN mkdir -p /sti-fake/src && \
     7      mkdir -p /tmp/scripts && \
     8  	mkdir /usr/bin && \
     9  	ln -s /bin/env /usr/bin/env
    10  
    11  WORKDIR /
    12  
    13  ADD scripts/.s2i/bin/ /tmp/scripts/
    14  
    15  # Scripts are already in the image and this is their location
    16  LABEL io.openshift.s2i.scripts-url=image:///tmp/scripts/