Uploaded image for project: 'MicroShift'
  1. MicroShift
  2. USHIFT-1064

Create lightweight, unprivileged container image "Hello MicroShift"

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • uShift Sprint 235

      Basically Containerfile producing small (smaller the better) image that would serve "Hello MicroShift" on http 8080, running as nonroot to use in our test suite.

      In one of our tests we're using:

      image: busybox:1.35
      command: ["/bin/sh"]
      args: ["-c", "while true; do echo -ne \"HTTP/1.0 200 OK\r\nContent-Length: 16\r\n\r\nHello MicroShift\" | nc -l -p 8080 ; done"] 
      • We'll put Containerfile in microshift repository and setup quay to build that image on update and expose as quay.io/microshift/hello-microshift
      • it would be good to have a proper httpd rather than hack from code ^

              rh-ee-ckyal Chirag Kyal
              pmatusza@redhat.com Patryk Matuszak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: