pica first containers

This commit is contained in:
Blue 2023-11-30 20:38:46 -03:00
commit 6d7a3b7b67
Signed by: blue
GPG Key ID: 9B203B252A63EE38
3 changed files with 35 additions and 0 deletions

0
README.md Normal file
View File

View File

@ -0,0 +1,9 @@
# syntax=docker/dockerfile:1
FROM alpine:latest
RUN \
apk add --no-cache \
fcgi \
fcgi++ \
&& \
mkdir /run/pica

View 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"]