fix permission

This commit is contained in:
iceBear67
2026-06-22 14:54:33 +08:00
parent 9a79ab0595
commit 318209ea57

View File

@@ -19,8 +19,8 @@ COPY ./image /kitchen
RUN sed -i "s#_REPO_#$CLOUD_CONFIG_REPO#g" /kitchen/overlay/daemon/update-keys.sh && \
sed -i "s#_REVISION_#$CLOUD_CONFIG_REVISION#g" /kitchen/overlay/daemon/update-keys.sh && \
sed -i "s#GATEWAY_ADDRESS#$CLOUD_GATEWAY_ADDRESS#g" /kitchen/overlay/etc/network/interfaces
COPY --from=bubble-builder /build/daemon /bin/bubble
COPY --from=bubble-builder /build/auth_server /bin/auth-server
COPY --from=bubble-builder --chmod=755 /build/daemon /bin/bubble
COPY --from=bubble-builder --chmod=755 /build/auth_server /bin/auth-server
RUN --security=insecure \
--mount=type=bind,from=host-modules,source=/,target=/lib/modules \
cd /kitchen && rm -f vm.raw && ALPINE_BRANCH="3.24" ./build-image.sh