anchor.diff: -FROM clojure:openjdk-11-lein-2.9.8
  -
  -RUN useradd -m -r -g root {{name}}
  +FROM public.ecr.aws/docker/library/clojure:openjdk-11-lein AS build
   
   RUN mkdir -p /usr/src/{{name}}
   
  
positive.code: 
  RUN lein do test, uberjar
  
  COPY docker/app_container/ /
  
  ## Drop privileges.
  USER {{name}}
  
negative.code: 
  ## Add files changing less often first for fetching dependencies as a Docker
  ## build cache optimization.
  COPY project.clj /usr/src/{{name}}/
  
  ARG DATOMIC_USERNAME
  ARG DATOMIC_PASSWORD
  
  RUN lein deps
  
  