summaryrefslogtreecommitdiff
path: root/.gitlab-ci/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci/Dockerfile')
-rw-r--r--.gitlab-ci/Dockerfile17
1 files changed, 12 insertions, 5 deletions
diff --git a/.gitlab-ci/Dockerfile b/.gitlab-ci/Dockerfile
index 0330e3af..dd7a0ccc 100644
--- a/.gitlab-ci/Dockerfile
+++ b/.gitlab-ci/Dockerfile
@@ -23,26 +23,27 @@ RUN dnf -y install \
glibc-headers \
gtk-doc \
itstool \
- libtool \
- libXft-devel \
- libXfixes-devel \
libattr-devel \
libffi-devel \
libmount-devel \
libselinux-devel \
+ libtool \
+ libXfixes-devel \
+ libXft-devel \
libxml2-devel \
libxslt \
make \
mesa-libGL-devel \
ninja-build \
+ openssl-devel \
pcre-devel \
python3 \
python3-devel \
- python3-mako \
- python3-markdown \
python3-pip \
python3-wheel \
+ readline-devel \
redhat-rpm-config \
+ sqlite-devel \
systemtap-sdt-devel \
zlib-devel \
&& dnf clean all
@@ -57,3 +58,9 @@ USER user
WORKDIR /home/user
ENV LANG C.UTF-8
+
+ENV PYENV_ROOT /home/user/.pyenv
+ENV PATH="${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
+ENV PYTHON_CONFIGURE_OPTS="--enable-shared"
+RUN curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
+RUN pyenv install 3.5.6