continued dockerfile and added dockerignore
This commit is contained in:
parent
4268b29d19
commit
e2d40a474b
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@ -0,0 +1,2 @@
|
||||
/build*
|
||||
|
22
Dockerfile
Normal file
22
Dockerfile
Normal file
@ -0,0 +1,22 @@
|
||||
FROM gcc:11
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y cmake
|
||||
|
||||
COPY . /usr/src/fsfw_example_public
|
||||
WORKDIR /usr/src/fsfw_example_public
|
||||
|
||||
RUN mkdir build-linux; \
|
||||
cd build-linux; \
|
||||
cmake -DOS_FSFW=linux ..; \
|
||||
cmake --build . -j; \
|
||||
cd ..
|
||||
|
||||
RUN mkdir build-hosted; \
|
||||
cd build-hosted; \
|
||||
cmake -DOS_FSFW=host ..; \
|
||||
cmake --build . -j; \
|
||||
cd ..
|
||||
|
||||
ENTRYPOINT ["/bin/sh"]
|
||||
|
0
cmake/scripts/BeagleBoneBlack/crosscompile/create_cmake_debug_cfg.sh
Normal file → Executable file
0
cmake/scripts/BeagleBoneBlack/crosscompile/create_cmake_debug_cfg.sh
Normal file → Executable file
Reference in New Issue
Block a user