|
@@ -151,12 +151,12 @@ RUN --mount=type=cache,sharing=locked,id=moby-cross-true-aptlib,target=/var/lib/
|
|
|
|
|
|
FROM runtime-dev-cross-${CROSS} AS runtime-dev
|
|
FROM runtime-dev-cross-${CROSS} AS runtime-dev
|
|
|
|
|
|
-FROM base AS tomlv
|
|
|
|
-ARG TOMLV_COMMIT
|
|
|
|
|
|
+FROM base AS tomll
|
|
|
|
+ARG GOTOML_VERSION
|
|
RUN --mount=type=cache,target=/root/.cache/go-build \
|
|
RUN --mount=type=cache,target=/root/.cache/go-build \
|
|
--mount=type=cache,target=/go/pkg/mod \
|
|
--mount=type=cache,target=/go/pkg/mod \
|
|
- --mount=type=bind,src=hack/dockerfile/install,target=/tmp/install \
|
|
|
|
- PREFIX=/build /tmp/install/install.sh tomlv
|
|
|
|
|
|
+ --mount=type=bind,src=hack/dockerfile/install/tomll.installer,target=/tmp/install/tomll.installer \
|
|
|
|
+ . /tmp/install/tomll.installer && PREFIX=/build install_tomll
|
|
|
|
|
|
FROM base AS vndr
|
|
FROM base AS vndr
|
|
ARG VNDR_COMMIT
|
|
ARG VNDR_COMMIT
|
|
@@ -305,7 +305,7 @@ RUN pip3 install yamllint==1.16.0
|
|
COPY --from=dockercli /build/ /usr/local/cli
|
|
COPY --from=dockercli /build/ /usr/local/cli
|
|
COPY --from=frozen-images /build/ /docker-frozen-images
|
|
COPY --from=frozen-images /build/ /docker-frozen-images
|
|
COPY --from=swagger /build/ /usr/local/bin/
|
|
COPY --from=swagger /build/ /usr/local/bin/
|
|
-COPY --from=tomlv /build/ /usr/local/bin/
|
|
|
|
|
|
+COPY --from=tomll /build/ /usr/local/bin/
|
|
COPY --from=tini /build/ /usr/local/bin/
|
|
COPY --from=tini /build/ /usr/local/bin/
|
|
COPY --from=registry /build/ /usr/local/bin/
|
|
COPY --from=registry /build/ /usr/local/bin/
|
|
COPY --from=criu /build/ /usr/local/
|
|
COPY --from=criu /build/ /usr/local/
|