File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11ARG CADDY_VERSION=2.11
2- ARG FRANKENPHP_VERSION=1.12.1
2+ ARG FRANKENPHP_VERSION=1.12.2
33
44FROM caddy:${CADDY_VERSION}-builder AS caddy-builder
55
Original file line number Diff line number Diff line change @@ -38,9 +38,16 @@ RUN apt-get update && \
3838RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
3939ENV PATH="/root/.cargo/bin:${PATH}"
4040
41- RUN git clone --depth 1 https://github.com/kreuzberg-dev/kreuzberg.git /tmp/kreuzberg \
41+ ARG KREUZBERG_VERSION=v4.9.4
42+ RUN git clone --depth 1 --branch ${KREUZBERG_VERSION} https://github.com/kreuzberg-dev/kreuzberg.git /tmp/kreuzberg \
4243 && cd /tmp/kreuzberg/crates/kreuzberg-php \
43- && cargo build --release
44+ && for i in 1 2 3 4 5; do \
45+ cargo build --release && break || { \
46+ echo "cargo build failed (attempt $i), retrying in $((i*30))s..." ; \
47+ sleep $((i*30)); \
48+ }; \
49+ done \
50+ && test -f /tmp/kreuzberg/target/release/libkreuzberg_php.so
4451
4552# -----------------------------------------------------
4653# App Itself
You can’t perform that action at this time.
0 commit comments