Skip to content

Commit ebf6a1e

Browse files
committed
Copy the openapi-codegen after we build all of the other formatters
This helps with docker layer cache
1 parent 2e6d3cb commit ebf6a1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ RUN echo "${BIOME_HASH} biome" > biome.sha256 && \
8686
mv biome /usr/bin/ && \
8787
chmod +x /usr/bin/biome
8888

89-
# openapi-codegen
90-
COPY --from=openapi-codegen-builder /app/target/${RUST_TARGET}/release/openapi-codegen /usr/bin/
91-
9289
# Ruby
9390
COPY --from=rubyfmt-builder /app/target/release/rubyfmt-main /usr/bin/rubyfmt
9491

@@ -117,3 +114,6 @@ RUN apk add --no-cache binutils && \
117114
rm -rf /root/.rustup/toolchains/nightly-*/share && \
118115
strip /root/.rustup/toolchains/nightly-*/lib/librustc_driver-*.so && \
119116
apk del binutils
117+
118+
# openapi-codegen
119+
COPY --from=openapi-codegen-builder /app/target/${RUST_TARGET}/release/openapi-codegen /usr/bin/

0 commit comments

Comments
 (0)