Skip to content

Commit 4044eb2

Browse files
committed
upgrade
1 parent 124240c commit 4044eb2

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

8.5-www/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG CADDY_VERSION=2.11
2-
ARG FRANKENPHP_VERSION=1.12.1
2+
ARG FRANKENPHP_VERSION=1.12.2
33

44
FROM caddy:${CADDY_VERSION}-builder AS caddy-builder
55

8.5/Dockerfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,16 @@ RUN apt-get update && \
3838
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
3939
ENV 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

0 commit comments

Comments
 (0)