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

     1  #
     2  # This is basic fake image used for testing STI.
     3  #
     4  FROM busybox
     5  
     6  RUN mkdir -p /sti-fake/src && mkdir -p /opt/app-root/src && \
     7  	mkdir /usr/bin && \
     8  	ln -s /bin/env /usr/bin/env
     9  
    10  WORKDIR /opt/app-root/src
    11  
    12  # Need to serve the scripts from localhost so any potential changes to the
    13  # scripts are made available for integration testing.
    14  #
    15  # Port 23456 must match the port used in the http server in STI's
    16  # integration_test.go
    17  LABEL io.openshift.s2i.scripts-url=http://127.0.0.1:23456/.s2i/bin