aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinwei Zhao <[email protected]>2016-11-15 19:18:58 +0800
committerJinwei Zhao <[email protected]>2016-11-15 19:18:58 +0800
commit2121b2ea637f209c6151fd0d46514a4325651090 (patch)
tree35e34235d4f057d5d009df50be57842b5432929c /Dockerfile
parent55a1dc3ba3171735dd7bc37c68ecc705df2f1a2d (diff)
downloadLumberJack-2121b2ea637f209c6151fd0d46514a4325651090.tar.gz
fix
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 6ca427e..862fe59 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,7 +6,7 @@ RUN \
6 sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \ 6 sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \
7 apt-get update && \ 7 apt-get update && \
8 apt-get -y upgrade && \ 8 apt-get -y upgrade && \
9 apt-get install -y xvfb scrot git build-essential python3 python3-dev python3-pip python3-tk && \ 9 apt-get install -y sudo xvfb scrot git build-essential python3 python3-dev python3-pip python3-tk && \
10 rm -rf /var/lib/apt/lists/* 10 rm -rf /var/lib/apt/lists/*
11 11
12RUN export uid=1000 gid=1000 && \ 12RUN export uid=1000 gid=1000 && \
@@ -17,6 +17,13 @@ RUN export uid=1000 gid=1000 && \
17 chmod 0440 /etc/sudoers.d/developer && \ 17 chmod 0440 /etc/sudoers.d/developer && \
18 chown ${uid}:${gid} -R /home/developer 18 chown ${uid}:${gid} -R /home/developer
19 19
20RUN \
21 Xvfb :1 -screen 0 1366x768x16 &> xvfb.log && \
22 export DISPLAY=:1.0 && \
23 pip3 install image && \
24 pip3 install python3-xlib && \
25 pip3 install pyautogui
26
20USER developer 27USER developer
21ENV HOME /home/developer 28ENV HOME /home/developer
22CMD /bin/bash 29CMD /bin/bash
Powered by cgit v1.2.3 (git 2.41.0)