summaryrefslogtreecommitdiff
path: root/buildslave/Dockerfile
diff options
context:
space:
mode:
authorCamil Staps2017-02-07 17:49:32 +0100
committerCamil Staps2017-02-07 17:50:45 +0100
commitd1405a49f81fe0a8278ea58b71e4fc70999f1f13 (patch)
treef4fdc0f7386820f12b227f9fa0c6280ca3b0b37d /buildslave/Dockerfile
parentWeb interface (diff)
buildslave
Diffstat (limited to 'buildslave/Dockerfile')
-rw-r--r--buildslave/Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/buildslave/Dockerfile b/buildslave/Dockerfile
new file mode 100644
index 0000000..36c2ef6
--- /dev/null
+++ b/buildslave/Dockerfile
@@ -0,0 +1,13 @@
+FROM python:2-slim
+
+RUN apt-get update -qq \
+ && PACKAGES="libmysqlclient-dev gcc" \
+ && apt-get install -qq $PACKAGES \
+ && pip install MySQL-python gitpython \
+ && ADDED_PACKAGES=`apt-mark showauto` \
+ && apt-get remove --purge -qq $PACKAGES $ADDED_PACKAGES \
+ && apt-get install -qq libmysqlclient-dev git make \
+ && rm -rf /var/lib/apt/lists/*
+
+COPY . /
+CMD ["bash", "entrypoint.sh"]