summaryrefslogtreecommitdiff
path: root/.gitlab-ci/Dockerfile
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2020-05-19 17:28:18 +0000
committerChristoph Reiter <reiter.christoph@gmail.com>2020-05-19 17:28:18 +0000
commite7c17469ef3eb1c3a1c4c717800c277ee231405c (patch)
treeded880d363b68b970612eb08a05c9af001f7ed62 /.gitlab-ci/Dockerfile
parenta943f572dd2de0ed8ca438702ad2ba8ef80d7934 (diff)
parent1460c2d100a2f066831cbc60c5203e13c6076ae5 (diff)
downloadgobject-introspection-e7c17469ef3eb1c3a1c4c717800c277ee231405c.tar.gz
Merge branch 'ci-build-examples' into 'master'
CI: add two jobs building a project using g-i with meson and autotools Closes #341 See merge request GNOME/gobject-introspection!223
Diffstat (limited to '.gitlab-ci/Dockerfile')
-rw-r--r--.gitlab-ci/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci/Dockerfile b/.gitlab-ci/Dockerfile
index 0dec6700..3a579cf8 100644
--- a/.gitlab-ci/Dockerfile
+++ b/.gitlab-ci/Dockerfile
@@ -43,6 +43,7 @@ RUN dnf -y install \
python3-wheel \
readline-devel \
redhat-rpm-config \
+ sudo \
sqlite-devel \
systemtap-sdt-devel \
zlib-devel \
@@ -53,6 +54,7 @@ RUN pip3 install meson==0.50.1
ARG HOST_USER_ID=5555
ENV HOST_USER_ID ${HOST_USER_ID}
RUN useradd -u $HOST_USER_ID -ms /bin/bash user
+RUN echo 'user ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER user
WORKDIR /home/user