Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions PR_Practice.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Sahil Jain
Vivek Abraham
Naren Bharadwaj
Mehul Murali
Vinson Zheng

15 changes: 10 additions & 5 deletions graphics-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM gcc:9.2

ENV DEBIAN_FRONTEND noninteractive
ARG OS
ARG FROM_DIRECTORY
FROM $FROM_DIRECTORY

RUN apt-get update
RUN apt-get install -y build-essential git
Expand All @@ -10,16 +10,21 @@ RUN apt-get install -y libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-
RUN apt-get install -y cmake unzip
RUN apt-get install -y libcanberra-gtk-module libcanberra-gtk3-module
RUN apt-get install -y mesa-utils libjsoncpp-dev libcurl4-gnutls-dev
RUN if [ "$OS" = "Mac" ]; then \
apt-get install -y gcc-9 && \
apt-get upgrade libstdc++6 && \
apt-get install -y libssl-dev; fi

WORKDIR /usr/src

RUN apt-get install wget
RUN wget https://github.com/Kitware/CMake/releases/download/v3.20.0/cmake-3.20.0.tar.gz
RUN tar -zxvf cmake-3.20.0.tar.gz
RUN rm cmake-3.20.0.tar.gz
RUN cd cmake-3.20.0
WORKDIR /usr/src/cmake-3.20.0
RUN ./bootstrap
RUN make -j
RUN make
RUN make install -j

WORKDIR /usr/src
Expand All @@ -34,4 +39,4 @@ RUN make install -j

WORKDIR /usr/smart-mirror

CMD bash
CMD bash