# How to build the image
# docker build -t ubuntu-24.04-nix .

# How to start a container in interactive mode
# docker run -it ubuntu-24.04-nix

# Start
# su - nixtest

FROM ubuntu:24.04

# Author
MAINTAINER Martial TOLA

# Metadata
LABEL version="1.0"
LABEL vendor="LIRIS"

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get clean
RUN apt-get update

RUN apt-get -y install sudo

RUN apt-get -y install vim
RUN apt-get -y install git

RUN apt-get -y install curl
RUN apt-get -y install wget

RUN apt-get -y install xz-utils
RUN apt-get -y install unzip

RUN apt-get -y install xvfb

# Cleanup
RUN apt-get -y autoremove

# Add 'nixtest' user and set password
RUN useradd -c "nixtest user" -s /bin/bash -m -d /home/nixtest nixtest
RUN usermod -G sudo nixtest

RUN echo "nixtest:pass" | chpasswd
