Added docker stuffs
This commit is contained in:
parent
30ae78c24e
commit
7ed5a93260
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@ -0,0 +1 @@
|
|||||||
|
README.md
|
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
FROM alpine:latest AS build
|
||||||
|
|
||||||
|
ADD . /build/
|
||||||
|
WORKDIR /build
|
||||||
|
|
||||||
|
RUN apk update && apk add make cmake gcc musl-dev && cmake . && make -j 8
|
||||||
|
|
||||||
|
FROM alpine:latest
|
||||||
|
|
||||||
|
COPY --from=build /build/caff_previewer /usr/local/bin/
|
||||||
|
|
||||||
|
CMD "/usr/local/bin/caff_previewer"
|
Loading…
Reference in New Issue
Block a user