File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,30 @@ FROM ubuntu:19.10
2
2
3
3
WORKDIR /app
4
4
5
- RUN apt update && apt install ca-certificates -y && \
6
- /usr/lib/apt/apt-helper download-file https://debian.sur5r.net/i3/pool/main/s/sur5r-keyring/sur5r-keyring_2019.02.01_all.deb keyring.deb SHA256:176af52de1a976f103f9809920d80d02411ac5e763f695327de9fa6aff23f416 && \
7
- dpkg -i ./keyring.deb && \
8
- echo "deb http://debian.sur5r.net/i3/ $(grep '^DISTRIB_CODENAME=' /etc/lsb-release | cut -f2 -d=) universe" >> /etc/apt/sources.list.d/sur5r-i3.list && \
9
- apt install i3-wm python3-pip xvfb -y
5
+ RUN echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup
6
+ RUN echo 'APT::Acquire::Retries "5";' > /etc/apt/apt.conf.d/80retry
7
+
8
+ RUN apt-get update && \
9
+ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
10
+ build-essential git automake autotools-dev libev-dev libxcb1-dev \
11
+ libxcb-util-dev ca-certificates libxkbcommon-dev libxkbcommon-x11-dev \
12
+ libyajl-dev libstartup-notification0-dev libxcb-xinerama0-dev \
13
+ libxcb-randr0-dev libxcb-shape0-dev libxcb-cursor-dev libxcb-keysyms1-dev \
14
+ libxcb-icccm4-dev libxcb-xrm-dev libpcre3-dev libpango1.0-dev \
15
+ libpangocairo-1.0-0 xvfb python3-pip && \
16
+ rm -rf /var/lib/apt/lists/*
10
17
11
18
RUN pip3 install python-xlib pytest pytest-asyncio pytest-timeout
12
19
20
+ RUN git clone https://github.com/i3/i3 && \
21
+ cd ./i3 && \
22
+ git checkout 2914c7f && \
23
+ autoreconf -fi && \
24
+ ./configure --prefix=/usr && \
25
+ cd ./x86_64-pc-linux-gnu && \
26
+ make -j8 && \
27
+ make install
28
+
13
29
ADD . /app
14
30
15
31
CMD ["./run-tests.py" ]
You can’t perform that action at this time.
0 commit comments