anchor.diff:  # Don't Expose gollum port 4567!
   
   # Start caddy and gollum
  -CMD /startup.sh
  +CMD ["/startup.sh"]
  
positive.code:      (if [ "${POTENTIAL_TAG}" != "undefined" ]; then echo "${POTENTIAL_TAG} (${COMMIT})"; \
        else echo "${COMMIT}"; fi) > /dist/app/version
  
  # Build gollum galore
  FROM ruby:2.6.1-alpine3.9
  
  # - Sources:
  #   - https://pkgs.alpinelinux.org/packages?name=git&branch=v3.9
  # - GOLLUM_PARAMS. Additional gollom config: See https://github.com/gollum/gollum#configuration
  #    e.g '--config /config/gollum.ru', in addition to -v /FOLDER/ON/HOST:/gollum/config
  # - CADDY_PARAMS e.g '-conf /gollum/config/Caddyfile', in addition to -v /FOLDER/ON/HOST:/gollum/config
  # We could use ARG here, but it seems impossible to compress multiple ARGs into one layer
  ENV GOLLUM_VERSION=4.1.4 \
    GIT_VERSION=2.20.1-r0 \
    ALPINE_SDK_VERSION=1.0-r0 \
    ICU_DEV_VERSION=62.1-r0 \
    GOLLUM_PARAMS='' \
    CADDY_PARAMS='' \
    HOST=':80'
  
  ARG VCS_REF
  ARG SOURCE_REPOSITORY_URL
  ARG GIT_TAG
  ARG BUILD_DATE
  # See https://github.com/opencontainers/image-spec/blob/master/annotations.md
  LABEL org.opencontainers.image.created="${BUILD_DATE}" \
        org.opencontainers.image.authors="schnatterer" \
  
negative.code:       org.opencontainers.image.licenses="MIT" \
        org.opencontainers.image.title="gollum-galore" \
        org.opencontainers.image.description="🍬 Gollum wiki with lots of sugar 🍬"
  
  # - GOLLUM_PARAMS. Additional gollom config: See https://github.com/gollum/gollum#configuration
  #    e.g '--config /config/gollum.ru', in addition to -v /FOLDER/ON/HOST:/gollum/config
  # - CADDY_PARAMS e.g '-conf /gollum/config/Caddyfile', in addition to -v /FOLDER/ON/HOST:/gollum/config
  ENV GOLLUM_PARAMS='' \
    CADDY_PARAMS='' \
    HOST=':80'
  
  COPY --from=gollum-build --chown=1000:1000 /dist /
  
  RUN \
    set -x  \
    # Needed for running gollum
    && apk --update add git=$GIT_VERSION \
    # Needed for setcap
    libcap=2.26-r0 \
    # cleanup apk cache
    && rm -rf /var/cache/apk/* \
    # Initialize wiki data.
    && mkdir -p /gollum/wiki && mkdir -p /gollum/config \
    # Create caddyfile that can be mounted when running
    && touch /gollum/config/Caddyfile \
  