You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
589 B
Docker
27 lines
589 B
Docker
8 months ago
|
FROM condaforge/mambaforge
|
||
|
|
||
|
ENV TZ=Europe/Samara
|
||
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||
|
|
||
|
ARG USER
|
||
|
ARG GROUP
|
||
|
ARG UID
|
||
|
ARG GID
|
||
|
|
||
|
RUN groupadd --gid ${GID} ${GROUP}
|
||
|
RUN useradd --shell /bin/bash --uid ${UID} --gid ${GID} -G sudo --create-home ${USER}
|
||
|
RUN mkdir /wd
|
||
|
RUN chown ${USER}:${GROUP} /wd
|
||
|
|
||
|
# SYSTEM CONFIGURATION
|
||
|
#RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
||
|
|
||
|
USER ${USER}
|
||
|
|
||
|
# USER CONFIGURATION
|
||
|
RUN pip install opencv-python-headless aiohttp aiortc
|
||
|
|
||
|
ENV SHELL=/bin/bash
|
||
|
SHELL ["/bin/bash", "--login", "-i", "-c"]
|
||
|
WORKDIR /wd
|