anchor.diff:  
   FROM rust:${RUST_VERSION}-${DEBIAN_VERSION} as builder
   
  -WORKDIR /srv/mimirsbrunn
  +WORKDIR /home
   
   ENV DEBIAN_FRONTEND noninteractive
   
  
positive.code: 
  RUN mkdir /etc/mimirsbrunn
  
  COPY --from=builder /srv/mimirsbrunn/target/release/osm2mimir /usr/bin/osm2mimir
  COPY --from=builder /srv/mimirsbrunn/target/release/cosmogony2mimir /usr/bin/cosmogony2mimir
  COPY --from=builder /srv/mimirsbrunn/target/release/bano2mimir /usr/bin/bano2mimir
  COPY --from=builder /srv/mimirsbrunn/target/release/openaddresses2mimir /usr/bin/openaddresses2mimir
  COPY --from=builder /srv/mimirsbrunn/config/* /etc/mimirsbrunn/
  
negative.code:   echo "Unsupported debian version '$DEBIAN_VERSION'"; \
  fi
  
  RUN USER=root cargo new mimirsbrunn
  
  WORKDIR /home/mimirsbrunn
  
  COPY ./Cargo.toml ./Cargo.toml
  COPY ./Cargo.lock ./Cargo.lock
  
  RUN echo "// dummy file" > src/lib.rs
  RUN echo "fn main () { }" > ./build.rs
  
  RUN mkdir -p libs/bragi/src
  COPY ./libs/bragi/Cargo.toml ./libs/bragi/Cargo.toml
  RUN echo "// dummy file" > ./libs/bragi/src/lib.rs
  
  RUN mkdir -p libs/mimir/src
  COPY ./libs/mimir/Cargo.toml ./libs/mimir/Cargo.toml
  RUN echo "// dummy file" > ./libs/mimir/src/lib.rs
  
  RUN mkdir -p libs/docker_wrapper/src
  COPY ./libs/docker_wrapper/Cargo.toml ./libs/docker_wrapper/Cargo.toml
  RUN echo "// dummy file" > ./libs/docker_wrapper/src/lib.rs
  
  RUN mkdir -p libs/tools/src
  COPY ./libs/tools/Cargo.toml ./libs/tools/Cargo.toml
  RUN echo "// dummy file" > ./libs/tools/src/lib.rs
  
  RUN mkdir -p tests
  RUN echo "// dummy file" > ./tests/tests.rs
  
  RUN cargo build --release
  RUN rm src/*.rs
  
  COPY ./src ./src
  COPY ./libs ./libs
  COPY ./config ./config
  COPY ./docker ./docker
  COPY ./build.rs ./build.rs
  
  RUN rm ./target/release/deps/libmimir*
  RUN rm ./target/release/deps/libbragi*
  RUN rm ./target/release/deps/mimirsbrunn*
  
  RUN cargo build --release --features db-storage
  
  ARG DEBIAN_VERSION
  
  FROM debian:${DEBIAN_VERSION}-slim
  
  