ccprojects commited on
Commit
a9dbd96
·
verified ·
1 Parent(s): f80aebe

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -10,6 +10,10 @@ RUN git clone https://github.com/GlobedGD/globed2.git
10
 
11
  WORKDIR /app/globed2
12
 
 
 
 
 
13
  RUN mkdir build
14
  WORKDIR /app/globed2/build
15
 
 
10
 
11
  WORKDIR /app/globed2
12
 
13
+ # Patch the CMakeLists.txt to allow Linux
14
+ RUN sed -i '/Unsupported operating system/d' CMakeLists.txt \
15
+ && sed -i '/if (NOT (${CMAKE_SYSTEM_NAME}/,/endif()/d' CMakeLists.txt
16
+
17
  RUN mkdir build
18
  WORKDIR /app/globed2/build
19