File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -44,12 +44,13 @@ RUN npx lerna run build --scope lit-dev-api --stream && \
44
44
# Site content
45
45
COPY packages/lit-dev-content/ ./packages/lit-dev-content/
46
46
ARG PLAYGROUND_SANDBOX
47
- # Kaniko doesn't include ARG values in the layer cache key. This is different to
48
- # normal Docker behavior, which would invalidate anything after the ARG
47
+ # Kaniko doesn't include ARG values in the layer cache key (see
48
+ # https://github.com/GoogleContainerTools/kaniko/pull/1085). This is different
49
+ # to normal Docker behavior, which would invalidate anything after the ARG
49
50
# declaration if the value changes. So, we need to write it to the file system
50
51
# to force a cache invalidation. Otherwise, we might re-use the most recent
51
52
# Eleventy build output, even when the playground sandbox URL has changed.
52
- RUN cat $PLAYGROUND_SANDBOX > playground-sandbox
53
+ RUN echo " $PLAYGROUND_SANDBOX" > playground-sandbox
53
54
RUN npx lerna run build --scope lit-dev-content --stream
54
55
55
56
# Run the web service on container startup.
You can’t perform that action at this time.
0 commit comments