Merge pull request 'add Dockerfile' (#1) from dev-container into master
Reviewed-on: #1
This commit is contained in:
commit
d60e11c476
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user