forked from otterbrix/otterbrix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (26 loc) · 765 Bytes
/
Dockerfile
File metadata and controls
31 lines (26 loc) · 765 Bytes
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
29
30
31
FROM python:3.7-alpine
RUN apk update \
&& apk upgrade --no-cache \
&& apk --update add --no-cache \
linux-headers \
build-base \
cmake \
ninja \
lua \
lua-dev \
libstdc++ \
&& pip3 install --no-cache-dir conan \
&& rm -rf /var/cache/* \
&& rm -rf /root/.cache/*
COPY . /app
WORKDIR /app
RUN conan remote add jinncrafters https://api.bintray.com/conan/jinncrafters/conan
RUN conan remote add jinntechio https://api.bintray.com/conan/jinntechio/public-conan
#RUN conan install . --build missing -s build_type=Release
WORKDIR /app/build
RUN cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release
RUN cmake --build .
#ENTRYPOINT["bash"]
#CMD ["./script/entrypoint.sh"]
#ENTRYPOINT ["./entrypoint.sh"]
#CMD ["run"]