pica first containers
This commit is contained in:
commit
6d7a3b7b67
9
pica-environment/Dockerfile
Normal file
9
pica-environment/Dockerfile
Normal file
@ -0,0 +1,9 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM alpine:latest
|
||||
RUN \
|
||||
apk add --no-cache \
|
||||
fcgi \
|
||||
fcgi++ \
|
||||
&& \
|
||||
mkdir /run/pica
|
26
pica-standalone/Dockerfile
Normal file
26
pica-standalone/Dockerfile
Normal file
@ -0,0 +1,26 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM thebluestbird/pica-environment:latest
|
||||
RUN \
|
||||
apk add --no-cache \
|
||||
gcc \
|
||||
g++ \
|
||||
nlohmann-json \
|
||||
fcgi-dev \
|
||||
cmake \
|
||||
make \
|
||||
curl \
|
||||
&& \
|
||||
mkdir build && \
|
||||
cd /build && \
|
||||
curl -o pica.tar.gz https://git.macaw.me/blue/pica/archive/main.tar.gz && \
|
||||
tar -xvzf pica.tar.gz && \
|
||||
cd pica && \
|
||||
mkdir build && \
|
||||
cd build && \
|
||||
cmake .. && \
|
||||
cmake --build .
|
||||
|
||||
FROM thebluestbird/pica-environment:latest
|
||||
COPY --from=0 /build/pica/build/pica /usr/bin/
|
||||
CMD ["/usr/bin/pica"]
|
Loading…
Reference in New Issue
Block a user