1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
FROM ubuntu:20.04
RUN \
echo "debconf debconf/frontend select Noninteractive" | \
debconf-set-selections
RUN \
apt update && \
apt install -y \
dbus \
g++ \
gcc \
git \
gnome-icon-theme \
gnumeric \
gstreamer1.0-plugins-good \
make \
ruby-dev \
sudo \
xvfb
RUN \
gem install bundler -v '< 2.5.0'
RUN \
useradd --user-group --create-home ruby-gnome
RUN \
echo "ruby-gnome ALL=(ALL:ALL) NOPASSWD:ALL" | \
EDITOR=tee visudo -f /etc/sudoers.d/ruby-gnome
USER ruby-gnome
WORKDIR /home/ruby-gnome
|