File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 37
37
run : docker run --platform linux/arm64 --user=999 --rm kcllang/kcl sh -c "kcl version"
38
38
- name : Test docker arm64 non-user with KCL running
39
39
run : docker run --platform linux/arm64 --user=999 --rm kcllang/kcl sh -c "echo 'a=1' | kcl run -"
40
+ - name : Test docker arm64 non-user with KCL module OCI source pulling
41
+ run : docker run --platform linux/arm64 --user=999 -e KCL_PKG_PATH=/tmp --rm kcllang/kcl:release-kcl-image-0.10.x sh -c "mkdir -p /tmp && cd /tmp && kcl mod pull subhelloworld:0.0.1 --oci https://ghcr.io/kcl-lang/helloworld --tag 0.1.4"
42
+ - name : Test docker arm64 non-user with KCL module Git source pulling
43
+ run : docker run --platform linux/arm64 --user=999 -e KCL_PKG_PATH=/tmp --rm kcllang/kcl:release-kcl-image-0.10.x sh -c "mkdir -p /tmp && cd /tmp && kcl run --git https://github.com/kcl-lang/flask-demo-kcl-manifests"
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ RUN kcl version && \
25
25
RUN apt-get update && \
26
26
apt-get install -y --no-install-recommends git ca-certificates && \
27
27
rm -rf /var/lib/apt/lists/*
28
+ # Create the temporary directory
29
+ RUN mkdir -p /tmp
28
30
29
31
# Configure KCL runtime environment
30
32
# Set temporary directories for write permissions
You can’t perform that action at this time.
0 commit comments