From aec2b1acffca2e1a42843a377d0fe5113bfef780 Mon Sep 17 00:00:00 2001 From: Cristi Ene Date: Tue, 24 Aug 2021 16:58:22 +0300 Subject: [PATCH] add Dockerfile --- Dockerfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..fc01ac3 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +FROM ubuntu:16.04 + +RUN apt-get update +RUN apt-get -qq update +RUN apt-get install -y build-essential +RUN apt-get install -y curl +RUN apt-get install -y python-minimal +RUN curl -sL https://deb.nodesource.com/setup_8.x | bash +RUN apt-get install -y nodejs + +WORKDIR /simulator +ADD . /simulator + +RUN apt-get install -y libasound2-dev +RUN npm i -g node-gyp +RUN apt install -y alsa-base pulseaudio + +RUN npm install --unsafe-perm + +# docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY --device /dev/snd \ No newline at end of file