Skip to content

Commit

Permalink
Merge pull request #69 from Peefy/unset-cache-path-env
Browse files Browse the repository at this point in the history
refactor: unset cache path env
  • Loading branch information
Peefy authored Apr 16, 2024
2 parents 52836ca + 11720e1 commit 8a2e214
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ env:
XPKG: xpkg.upbound.io/${{ github.repository}}

# The package version to push. The default is 0.0.0-gitsha.
XPKG_VERSION: v0.5.0
XPKG_VERSION: v0.5.1

jobs:
unit-test:
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ RUN --mount=target=. \
# Produce the Function image. We use a very lightweight 'distroless' image that
# does not include any of the build tools used in previous stages.
FROM kcllang/kcl AS image
# Walkaround for #68: unset the kcl cache path env variable (the value is /tmp) to avoid the data competition.
RUN unset KCL_CACHE_PATH
WORKDIR /
COPY --from=build /function /function
EXPOSE 9443
Expand Down

0 comments on commit 8a2e214

Please sign in to comment.