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