remove user

This commit is contained in:
Alexey Lavrenuke 2016-08-02 17:20:09 +03:00
parent ac11017837
commit b84d1cd0c7
3 changed files with 1 additions and 10 deletions

View File

@ -7,8 +7,7 @@ MAINTAINER Alexey Lavrenuke <direvius@yandex-team.ru>
LABEL Description="Fresh Yandex.Tank from github master branch with phantom" Vendor="Yandex" Version="0.0.3"
RUN useradd -m -G sudo yandextank && echo yandextank:yandextank | chpasswd && \
export DEBIAN_FRONTEND=noninteractive && \
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y sudo && \
apt-get install -y wget && \
@ -34,8 +33,6 @@ RUN BUILD_DEPS="python-dev build-essential gfortran libssl-dev libffi-dev" && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
USER yandextank
VOLUME ["/var/loadtest"]
WORKDIR /var/loadtest
ENTRYPOINT /usr/local/bin/yandex-tank

View File

@ -34,8 +34,6 @@ RUN BUILD_DEPS="python-dev build-essential gfortran libssl-dev libffi-dev" && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
USER yandextank
VOLUME ["/var/loadtest"]
WORKDIR /var/loadtest
ENTRYPOINT /usr/local/bin/yandex-tank

View File

@ -7,8 +7,6 @@ MAINTAINER Alexey Lavrenuke <direvius@gmail.com>
ENV DEBIAN_FRONTEND noninteractive
USER root
RUN add-apt-repository ppa:webupd8team/java && apt update && \
echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | debconf-set-selections && \
apt -y install oracle-java8-installer
@ -29,5 +27,3 @@ RUN pip install uiautomator Appium-Python-Client
RUN apt install -y curl && curl -sL https://deb.nodesource.com/setup_4.x | bash - && \
apt install -y nodejs && npm install -g appium
USER yandextank