anchor.diff:          apt-transport-https \
           lsb-release \
           openssh-client \
  +        chromium \
  +        chromium-driver \
           git;
   
   ENV CLOUD_SDK_VERSION 161.0.0
  
positive.code:              docker-ce>="$DOCKER_VERSION" \
          && rm -rf /var/lib/apt/lists/*
  
  RUN echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list \
          && curl -fsSL https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
          && apt-get update -qqy && apt-get install -qqy \
               google-chrome-stable \
          && rm -rf /var/lib/apt/lists/*
  
  RUN gcloud config set core/disable_usage_reporting true && \
      gcloud config set component_manager/disable_update_check true && \
      gcloud config set metrics/environment github_docker_image
  
negative.code: RUN adduser --disabled-password --gecos "" teamcity-agent --ingroup docker &&\
      mkdir -p /data &&\
      chown -R teamcity-agent:root /data
  
  # Install node version manager
  USER teamcity-agent
  