diff --git a/Containerfile b/Containerfile index 218a4c7..2cc4f0e 100644 --- a/Containerfile +++ b/Containerfile @@ -10,7 +10,8 @@ RUN --mount=type=cache,target=/var/cache \ RUN --mount=type=cache,target=/root/go \ go install kcl-lang.io/cli/cmd/kcl@v0.7 \ - && cp /root/go/bin/kcl /usr/local/bin \ + && /root/go/bin/kcl > /dev/null \ + && cp /root/go/bin/* /usr/local/bin/ \ && : RUN --mount=type=cache,target=/root/.cargo \ @@ -26,6 +27,7 @@ RUN --mount=type=cache,target=/var/cache \ microdnf install -y \ --setopt install_weak_deps=0 \ age \ + gcc \ git \ && cp -a /build/usr/local/bin/. /usr/local/bin \ && for cmd in \ @@ -40,5 +42,9 @@ COPY config.sh / CMD ["/config.sh"] +ENV KCL_GO_DISABLE_ARTIFACT=on +ENV KCL_PKG_PATH=/tmp +ENV KCL_CACHE_PATH=/tmp + LABEL license= \ vendor='Dustin C. Hatch' \