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

     1  #
     2  # This is fake image used for testing STI. It tests running build as non-root user.
     3  #
     4  FROM sti_test/sti-fake
     5  
     6  RUN mkdir -p /sti-fake && \
     7      adduser -u 431 -h /sti-fake -s /sbin/nologin -D fakeuser && \
     8      chown -R fakeuser /sti-fake
     9  
    10  USER fakeuser