mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Added docker files for gcc and clang development environments
This commit is contained in:
parent
6a68fa728b
commit
47784f992e
5 changed files with 29 additions and 13 deletions
9
build/gcc/Dockerfile
Normal file
9
build/gcc/Dockerfile
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# $ docker build -f Dockerfile -t turtle-gcc .
|
||||
FROM gcc
|
||||
RUN apt-get update && apt-get install -y xsltproc docbook-xsl docbook-xml && apt-get autoremove && apt-get clean
|
||||
ENV DOCBOOK_XSL_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl \
|
||||
DOCBOOK_DTD_DIR=/usr/share/xml/docbook/schema/dtd/4.2 \
|
||||
BOOST_ROOT=/home/dev/cpp/boost/
|
||||
RUN echo 'cd /home/dev/cpp/turtle/build' >> ~/.bashrc
|
||||
# $ docker run --platform=linux --rm -v C:/dev:/home/dev -m 16g -it turtle-gcc
|
||||
# ./build.sh --toolset=gcc "cxxflags=-std=c++17 -Wno-noexcept-type -Wno-unused-variable -Wno-unused-function -Wno-deprecated-declarations"
|
||||
Loading…
Add table
Add a link
Reference in a new issue