mirror of
https://github.com/valitydev/yandex-tank.git
synced 2024-11-06 10:25:17 +00:00
remove user
This commit is contained in:
parent
ac11017837
commit
b84d1cd0c7
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user