docs: update docs for first-time contributor (#1368)

This commit is contained in:
Indra Gunawan
2025-02-17 17:31:33 +08:00
committed by GitHub
parent 9dd05b0b1b
commit 233753ca6b
3 changed files with 11 additions and 6 deletions

View File

@@ -46,7 +46,7 @@ RUN apt-get update && \
echo 'set auto-load safe-path /' > /root/.gdbinit && \
echo '* soft core unlimited' >> /etc/security/limits.conf \
&& \
apt-get clean
apt-get clean
WORKDIR /usr/local/src/php
RUN git clone --branch=PHP-8.4 https://github.com/php/php-src.git . && \
@@ -71,7 +71,9 @@ WORKDIR /usr/local/src/watcher
RUN git clone https://github.com/e-dant/watcher . && \
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release && \
cmake --build build/ && \
cmake --install build
cmake --install build && \
cp build/libwatcher-c.so /usr/local/lib/libwatcher-c.so && \
ldconfig
WORKDIR /go/src/app
COPY . .