mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
501b2b43ef
This is needed so we can install what we built.
14 lines
333 B
Docker
14 lines
333 B
Docker
FROM registry.gitlab.gnome.org/gnome/gtk/fedora-base:v21
|
|
|
|
# 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
|