-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
29 lines (22 loc) · 873 Bytes
/
Dockerfile
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
# This is the version needs to match what was used in the build in Github Workflows so the package versions match
FROM ubuntu:18.04
# To avoid "tzdata" asking for geographic area
ARG DEBIAN_FRONTEND=noninteractive
# tsdk: have to update gcc to avoid the error /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found
# is there an simpler way to do this?
RUN apt update -qq && \
apt install -qq -y software-properties-common && \
add-apt-repository -y ppa:ubuntu-toolchain-r/test && \
apt install -qq -y \
npm \
libx264-dev \
libjavascriptcoregtk-4.0-dev \
gcc-10 \
g++-10 \
kmscube \
libgles2-mesa-dev \
libgbm-dev
COPY . /home/app
WORKDIR /home/app/
RUN chmod +x node_modules/@newchromantics/popengine/ubuntu-latest/PopEngineTestApp
CMD [ "node", "./NodeServer.js" ]