Shallow clone of website/submodules for testing (#2249)

Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
This commit is contained in:
Christian Mesh 2024-12-04 12:24:41 -05:00 committed by GitHub
parent 32ca523689
commit 3d51e3c9df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@
FROM alpine AS parent
RUN apk add git
RUN git clone --recurse-submodules https://github.com/opentofu/opentofu.org /work
RUN git clone --depth=1 --shallow-submodules --recurse-submodules https://github.com/opentofu/opentofu.org /work
FROM node:22
COPY --from=parent /work /work