Skip to content

Commit ba03db3

Browse files
jefferytorobimarko
authored andcommitted
CI: dockerfiles_feeds: add local APK feed
Currently APK package dependencies are installed from the standard feeds. This may lead to test errors due to dependency mismatch/missing dependencies. This adds a local APK package feed so that dependencies are installed from locally built packages. Fixes: #41 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
1 parent c7ec823 commit ba03db3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/dockerfiles_feeds/entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ if [ $PKG_MANAGER = "opkg" ]; then
1515

1616
opkg update
1717
elif [ $PKG_MANAGER = "apk" ]; then
18+
echo "/ci/packages.adb" >> /etc/apk/repositories.d/distfeeds.list
19+
1820
cp /ci/packages-ci-public.pem "/etc/apk/keys/"
21+
22+
apk update
1923
fi
2024

2125
CI_HELPER="${CI_HELPER:-/ci/.github/workflows/ci_helpers.sh}"

0 commit comments

Comments
 (0)