Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. FROM some-image:whatever AS build
  2.  
  3. # build your app if you need to
  4.  
  5. RUN adduser --system --home /var/cache/yospos --shell /sbin/nologin yospos;
  6.  
  7. FROM some-image:whatever
  8.  
  9. # copy your stupid p-lang app, whatever who cares
  10.  
  11. COPY --from=build /etc/passwd /etc/shadow /etc
  12.  
  13. USER yospos
  14. CMD ["bithc"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement