From 7abf1d7c078028efa3ee75beff408145b6c3abf2 Mon Sep 17 00:00:00 2001 From: Jinwei Zhao Date: Mon, 14 Nov 2016 23:21:48 +0800 Subject: init dockerfile --- Dockerfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d9c643d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +FROM ubuntu:latest +MAINTAINER clarkzjw + +# Install Ubuntu and base software. +RUN \ + sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \ + apt-get update && \ + apt-get -y -qq upgrade && \ + apt-get install -y -qq scrot git build-essential python3 python3-dev python3-pip python3-tk && \ + rm -rf /var/lib/apt/lists/* + +RUN \ + pip3 install python3-xlib && \ + pip3 install pyautogui && \ + mkdir -p /code/ + +# RUN +ADD ./bot.py /code/bot.py + +CMD /bin/bash -- cgit v1.2.3