mirror of
https://onedev.site.tesses.net/crosslang
synced 2026-05-10 14:40:18 +00:00
Use alpine for Docker
This commit is contained in:
@@ -6,7 +6,7 @@ RUN apk add --no-cache cmake g++ make git
|
|||||||
COPY ./ /src
|
COPY ./ /src
|
||||||
|
|
||||||
|
|
||||||
RUN cd /src && mkdir build && cd build && cmake -S .. -B . -DTESSESFRAMEWORK_ENABLE_EXAMPLES=OFF -DTESSESFRAMEWORK_ENABLE_APPS=ON -DCMAKE_BUILD_TYPE=Release && make -j`nproc` && make install DESTDIR=/out
|
RUN cd /src && mkdir build && cd build && cmake -S .. -B . -DTESSESFRAMEWORK_ENABLE_EXAMPLES=OFF -DTESSESFRAMEWORK_ENABLE_APPS=ON -DCMAKE_BUILD_TYPE=Release ; make -j`nproc` && make install DESTDIR=/out
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN apk update
|
RUN apk update
|
||||||
|
|||||||
Reference in New Issue
Block a user