parent
ce4997317a
commit
77926649ba
borded_cpp
3
borded_cpp/Dockerfile
Normal file
3
borded_cpp/Dockerfile
Normal file
@ -0,0 +1,3 @@
|
||||
FROM alpine:latest
|
||||
RUN apk update && apk add build-base sqlite-dev vim jansson-dev jansson-static cmake
|
||||
WORKDIR /home
|
9
borded_cpp/compose.yml
Normal file
9
borded_cpp/compose.yml
Normal file
@ -0,0 +1,9 @@
|
||||
services:
|
||||
cpp:
|
||||
build: .
|
||||
command: ["sh","doit.sh"]
|
||||
tty: true
|
||||
stdin_open: true
|
||||
volumes:
|
||||
- ./:/home
|
||||
- ../books:/books
|
2
borded_cpp/doit.sh
Executable file
2
borded_cpp/doit.sh
Executable file
@ -0,0 +1,2 @@
|
||||
rm -rf build | true
|
||||
mkdir build && cd build && cmake .. && make
|
Loading…
Reference in New Issue
Block a user