2021-02-12 03:02:39 +00:00
|
|
|
FROM registry.gitlab.gnome.org/gnome/gtk/fedora-base:v28
|
2019-04-13 13:11:30 +00:00
|
|
|
|
2020-08-02 02:11:07 +00:00
|
|
|
# Enable sudo for wheel users
|
|
|
|
RUN sed -i -e 's/# %wheel/%wheel/' -e '0,/%wheel/{s/%wheel/# %wheel/}' /etc/sudoers
|
|
|
|
|
2018-02-13 16:21:18 +00:00
|
|
|
ARG HOST_USER_ID=5555
|
|
|
|
ENV HOST_USER_ID ${HOST_USER_ID}
|
2020-08-02 02:11:07 +00:00
|
|
|
RUN useradd -u $HOST_USER_ID -G wheel -ms /bin/bash user
|
2018-02-13 16:21:18 +00:00
|
|
|
|
|
|
|
USER user
|
|
|
|
WORKDIR /home/user
|
|
|
|
|
2018-03-20 16:31:38 +00:00
|
|
|
ENV LANG C.UTF-8
|