Skip to content

DrSnowbird/HyperGraphQL-docker

Repository files navigation

HyperGraphQL-docker

  • A HyperGraphQL-docker Container with no root access (except using sudo ... and you can remove it using sudo apt-get remove sudo to protect your Container).
If [ you are looking for such a common requirement as a base Container ] and 
   [ HyperGraphQL inside the container ]:
   Then [ this one may be for you ]

Requirements:

  • Gradle: v7.6.4
  • Java: v11

Components:

  • HyperGraphQL
  • No root setup: using /home/developer
    • It has sudo for dev phase usage. You can "sudo apt-get remove sudo" to finalize the product image.
    • Note, you should consult Docker security experts in how to secure your Container for your production use!)

Release

  • This is also a fix to mitigate the Log4Shell vulnerability.
    • update to the latest versions to avoid the Log4Shell vulnerability

Related Projects

Build (do this first!)

  • Note: it is necessary to use specific Java v11 to successfully build this Container.
  • Make sure you modify "openkbs/java-nonroot-docker" (git clone locally) Dockerfile to generate image tag "11" before you build this Container:
    JAVA_VERSION_LIST=11 23-slim-bullseye
    
  • Then, you can proceed to build this Container with errors due to Java version incompatibility issues.
    ./build.sh
    

Run (recommended for easy-start)

./run.sh

Pull image from Docker Repository

docker pull openkbs/ultragraphql-docker

Create your own image from this

FROM openkbs/ultragraphql-docker

Quick commands

  • build.sh - build local image
  • logs.sh - see logs of container
  • run.sh - run the container
  • shell.sh - shell into the container
  • stop.sh - stop the container