github.com/openshift/source-to-image@v1.4.1-0.20240516041539-bf52fc02204e/test/integration/images/sti-fake-onbuild/Dockerfile (about) 1 FROM sti_test/sti-fake 2 3 ONBUILD RUN touch /sti-fake/src/onbuild 4 5 # The ONBUILD strategy only works with the application source dir so we need 6 # to manually specify to copy to another location. 7 # 8 # This is a little hack-ish given that we know our assemble script requires files to be in /tmp/src 9 # we will copy there, and also set our WORKDIR to be the same location so it has access to the scripts 10 ONBUILD COPY . /tmp/src/ 11 WORKDIR /tmp/src