anchor.diff:   && rm /usr/local/bin/gosu.asc \
    && chmod +x /usr/local/bin/gosu
   
  -RUN groupadd -r teamcity-agent \
  - && useradd -r -d /var/lib/teamcity-agent -m -g teamcity-agent teamcity-agent
  -
   RUN apt-get update \
  - && apt-get install -y openjdk-7-jre-headless --no-install-recommends \
  + && apt-get install -y openjdk-8-jre-headless openjdk-8-jdk --no-install-recommends \
  + && apt-get install -y docker.io \
    && dpkg-reconfigure ca-certificates-java \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  +
  +RUN groupadd -r teamcity-agent \
  + && useradd -r -d /var/lib/teamcity-agent -m -g teamcity-agent teamcity-agent -G docker
   
   ENV TEAMCITY_VERSION=9.0.4
   
  
positive.code: ENTRYPOINT ["/docker-entrypoint.sh"]
  
  ENV TEAMCITY_AGENT_OPTS=""
  ENV TEAMCITY_AGENT_MEM_OPTS="-mx128m -XX:+UseG1GC"
  
  EXPOSE 8002
  CMD ["/var/lib/teamcity-agent/bin/agent.sh", "run"]
  
negative.code: FROM debian:sid
  
  MAINTAINER Ilya Epifanov <elijah.epifanov@gmail.com>
  
  