summaryrefslogtreecommitdiff
path: root/.gitlab-ci/Dockerfile.old
blob: 7f53e40fb845fb52d65fa40382e7e40dafc35127 (plain)
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
29
30
31
32
33
34
35
36
FROM i386/ubuntu:xenial

RUN apt-get update && apt-get install -y \
    autoconf-archive \
    build-essential \
    ccache \
    curl \
    dbus \
    gir1.2-gtk-3.0 \
    git \
    gobject-introspection \
    lcov \
    libcairo2-dev \
    libffi-dev \
    libgirepository1.0-dev \
    libglib2.0-dev \
    libgtk-3-0 \
    libtool \
    locales \
    python3-dev \
    python3-venv \
    xauth \
    xvfb \
    && rm -rf /var/lib/apt/lists/*

ARG HOST_USER_ID=5555
ENV HOST_USER_ID ${HOST_USER_ID}
RUN useradd -u $HOST_USER_ID -ms /bin/bash user

USER user
WORKDIR /home/user

ENV LANG C.UTF-8
ENV CI true

ENV PATH="/usr/lib/ccache:${PATH}"