Skip to content

Commit e4bf049

Browse files
committed
test
1 parent 1850eae commit e4bf049

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/kayobe/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ COPY .automation/utils/kayobe-automation-activate .automation.conf/docker*/kayob
8787

8888
# Control host bootsrap without leaving kayobe-config in the image
8989
ARG KAYOBE_USER_UID=1000
90-
RUN --mount=type=ssh,uid=$KAYOBE_USER_UID --mount=type=tmpfs,target=/tmp/src --mount=type=bind,source=.,target=/src sudo cp -rfp /src /tmp/ && \
90+
ENV KAYOBE_USER_UID=${KAYOBE_USER_UID}
91+
RUN --mount=type=ssh,uid=${KAYOBE_USER_UID} --mount=type=tmpfs,target=/tmp/src --mount=type=bind,source=.,target=/src sudo cp -rfp /src /tmp/ && \
9192
sudo chown -Rf stack:stack /tmp/src && \
9293
# Strip the secrets so that we don't need to pass in a vault-password
9394
grep -lR "\$ANSIBLE_VAULT" /tmp/src | xargs rm -f && \

0 commit comments

Comments
 (0)