Skip to content

Support

Ever so often there are things that can’t be solved via text messages and one needs to get their hands on the issue. There are tools and logs that are not publicly available and will never be. Therefore, it is necessary to share the file / setup in question.

You should already be familiar with using docker. The best way is to provide me with a docker image that I can simply run and validate the issue. I’ll then check the logs and other things to narrow the issue further down.

  1. Create a docker image e.g.

    FROM alpine
    WORKDIR /server
    COPY . /server
    RUN apk add openjdk8
    RUN apk add curl jq
    RUN apk add bash
    ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk
    ENV PATH $PATH:$JAVA_HOME/bin
    RUN chmod +x entrypoint.sh
    ENTRYPOINT ["sh", "entrypoint.sh"]
  2. Build the docker image

    docker build -t my-image .
  3. Export the image

    docker save my-image -o my-image.tar
  4. Verify that the image can be imported and started

    # Import the image
    docker load < my-image.tar
    # Start the image
    docker run -it --rm my-image
  5. Upload the tar file