Davi de Castro Reis
Davi de Castro Reis
Here are the commands I ran and the output I got. ``` ./gradlew --no-configuration-cache tracker:nativeCompile ... ./gradlew --no-configuration-cache tracker:jibDockerBuild ... > Task :tracker:jibDockerBuild FAILED Running extension: com.google.cloud.tools.jib.gradle.extension.nativeimage.JibNativeImageExtension Running Jib Native...
See https://stackoverflow.com/questions/53853815/how-to-fix-cannot-use-namespace-as-a-type-ts2709-in-typescript. The error seems to be here: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/2cb66849024b2e84a7bd4e3649b4e53b8df3e714/types/markdown-it/lib/index.d.mts#L149 And here is my client side patch: ``` diff --git a/dist/index.cjs.d.ts b/dist/index.cjs.d.ts index 3937a618c13b3bfb017ab163cb613020bf670d40..a149fa7f935837a3ca6c3fd758b6e1281ba44bff 100644 --- a/dist/index.cjs.d.ts +++ b/dist/index.cjs.d.ts @@ -979,7...
The startsWith('/') heuristic does not work in windows. Instead, rely on the portable path.isAbsolute node call.
Minimal repro: ``` # syntax = devthefuture/dockerfile-x:v1.3.4 FROM alpine ARG TARGETARCH RUN echo $TARGETARCH > /root/targetarch.txt CMD [ "cat" , "/root/targetarch.txt" ] ``` When running this container, instead of amd64,...