aboutsummaryrefslogtreecommitdiff
blob: d9c643d2b272cb1903a17ae0b5c4e2a7a5236b4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM ubuntu:latest
MAINTAINER clarkzjw <[email protected]>

# 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
Powered by cgit v1.2.3 (git 2.41.0)