-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
28 lines (21 loc) · 1.05 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM ubuntu:xenial
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -qqy update && \
apt-get -qqy install libluajit-5.1-dev && \
ln -s /usr/bin/luajit /usr/bin/lua && \
apt-get -qqy install curl git unzip net-tools uuid-runtime
RUN apt-get -qqy update && apt-get -qqy install luarocks && \
luarocks install busted && \
luarocks install LuaSocket && \
luarocks install json-lua
RUN apt-get -qqy install apt-transport-https ca-certificates software-properties-common && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add && \
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && \
apt-get -qqy update && \
apt-get -qqy install docker-ce && \
apt-get -qqy install python python-dev python-distribute python-pip && \
pip install --upgrade pip==9.0.3 && \
pip install docker-compose
RUN cd /opt && git clone -q https://github.com/vishnubob/wait-for-it.git
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ENV DEBIAN_FRONTEND teletype