File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,16 @@ WORKDIR /out
3333ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-${TARGETARCH}.tar.gz .
3434RUN tar xvf hugo_extended_${HUGO_VERSION}_linux-${TARGETARCH}.tar.gz
3535
36+ # git-src clones the OSS projects in order to include
37+ # code snippets into the docs.
38+ FROM base AS git-src-oss
39+ WORKDIR /git-src
40+ RUN git clone https://github.com/testcontainers/testcontainers-go.git
41+
3642# build-base is the base stage used for building the site
3743FROM base AS build-base
3844WORKDIR /project
45+ COPY --from=git-src-oss /git-src /project/git-src
3946COPY --from=hugo /out/hugo /bin/hugo
4047COPY --from=npm /out/node_modules node_modules
4148COPY . .
You can’t perform that action at this time.
0 commit comments