summaryrefslogtreecommitdiff
path: root/.gitlab-ci/fedora.Dockerfile
blob: a7a35b429973cf121d6e8651100879de074d0e7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM registry.gitlab.gnome.org/gnome/gtk/fedora-base:v25

# Enable sudo for wheel users
RUN sed -i -e 's/# %wheel/%wheel/' -e '0,/%wheel/{s/%wheel/# %wheel/}' /etc/sudoers

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

USER user
WORKDIR /home/user

ENV LANG C.UTF-8