There was an error while loading. Please reload this page.
2 parents f4d03a0 + 75df561 commit 055ea5bCopy full SHA for 055ea5b
1 file changed
tools/build-sdk.sh
@@ -96,6 +96,13 @@ mkdir -p /out
96
find bin/ -name "*.ipk" -print -exec cp {} /out/ \;
97
EOF
98
99
+# mktemp creates the file mode 0600 owned by the host user. The SDK image
100
+# runs the inner script as the unprivileged 'builder' user (uid 1000), and
101
+# on Linux Docker the host uid is preserved -- so a 0600 file owned by
102
+# host uid 1001 (typical CI runner) is unreadable to container uid 1000.
103
+# Make it world-readable. The contents are not secret.
104
+chmod 0644 "$TMP_INNER"
105
+
106
echo "==> Running build in container"
107
docker run --rm \
108
-v "$FEED_PATH:/feed:ro" \
0 commit comments