Compare commits

...

2 Commits

Author SHA1 Message Date
dependabot[bot]
27f353fc74 chore(deps): bump node from 24-alpine to 25-alpine
Bumps node from 24-alpine to 25-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 25-alpine
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-15 19:04:10 +00:00
Ruben Fiszel
68fd900076 fix: use bookworm-based php image to fix glibc 2.38 incompatibility (#8381)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-15 19:03:09 +00:00
2 changed files with 13 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=$SCCACHE_DIR,sharing=locked \
cargo build --release -p windmill_duckdb_ffi_internal
FROM node:24-alpine as frontend
FROM node:25-alpine as frontend
# install dependencies
WORKDIR /frontend
@@ -268,7 +268,7 @@ RUN bun install -g windmill-cli \
RUN curl -fsSL https://claude.ai/install.sh | bash \
&& cp /root/.local/share/claude/versions/* /usr/bin/claude
COPY --from=php:8.3.30-cli /usr/local/bin/php /usr/bin/php
COPY --from=php:8.3.30-cli-bookworm /usr/local/bin/php /usr/bin/php
COPY --from=composer:2.9.5 /usr/bin/composer /usr/bin/composer
# add the docker client to call docker from a worker if enabled

View File

@@ -29,6 +29,12 @@ func main(x int) (interface{}, error) {
"python3": """
def main(x: int):
return x
""",
"php": """<?php
function main(int $x): int {
return $x;
}
""",
}
@@ -80,3 +86,8 @@ class TestIdentityScript(unittest.TestCase):
path = PATH_TEMPLATE.format(lang="python3")
result = self._client.run_sync(path, {"x": 5})
self.assertEqual(result, 5)
def test_php(self):
path = PATH_TEMPLATE.format(lang="php")
result = self._client.run_sync(path, {"x": 5})
self.assertEqual(result, 5)