Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Support for Alpine Packages

    Scheduled Pinned Locked Moved Support
    feedsalpineproget
    9 Posts 6 Posters 59 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • shfunke_1795S Offline
      shfunke_1795
      last edited by apxltd

      UPDATE: Starting in ProGet 2023.22, you can create Alpine (APK) feeds with connectors

      Hey,

      for building Docker images we'd like to use internal mirrors
      for Debian and Alpine packages, right now Alpine is not supported.

      The support of Alpine packages would be a benefit not only
      for internal builds on machines without internet access but
      also in regards of security as then these packages would be
      included in the security scans for projects under Reporting & SCA.

      J apxltdA 2 Replies Last reply Reply Quote 4
      • J Offline
        jrottmann_6111 @shfunke_1795
        last edited by

        That would be really beneficial for me too.

        +1

        1 Reply Last reply Reply Quote 2
        • apxltdA Offline
          apxltd inedo-engineer
          last edited by

          Hi @shfunke_1795 , @jrottmann_6111

          Thanks, I just added this to our documentation page!

          I didn't look too deeply, but I found some initial documentation:
          https://wiki.alpinelinux.org/wiki/Package_management

          It seems this is "like Yum/RPM but for Alpine Linux"? None of us here use Alpine Linux, so there's a pretty big learning curve to get started. Any help here would be appreciated, and definitely move this along :)

          Is this related to "APK" that Android uses?

          Is the "API" mostly like basic file downloads, based on an index file? Are you able to "hack" or do a PoC using ProGet Asset Directories?

          Founder and CEO, Inedo

          S 1 Reply Last reply Reply Quote 1
          • S Offline
            sdohle_3924 @apxltd
            last edited by

            @apxltd
            Hi,

            this is the link to the package format description:
            https://wiki.alpinelinux.org/wiki/Apk_spec#:~:text=The APK v2 package format,it were a single stream.

            1 Reply Last reply Reply Quote 0
            • B Offline
              bahues_9728
              last edited by

              That would be very usefull for me as well.

              +1

              1 Reply Last reply Reply Quote 0
              • shfunke_1795S Offline
                shfunke_1795
                last edited by

                Hey,

                The Alpine repository is basically a file repository containing all the packages
                along side with an index.

                APKINDEX.tar.gz
                nodejs-16.16.0-r0.apk
                

                For example files that are stored within the repository. The index
                file contains the meta information of all packages and the APK
                files are tar.gz archives of the actual package. 2

                .
                | -- APKINDEX
                | -- DESCRIPTION
                

                Structure of the APKINDEX archive.

                v3.16.2-12-g0a9ad186b5
                

                Contents of the DESCRIPTION file for the index.

                C:Q1q+b+YJqvl8+pTo4w26MOThV13Ew=
                P:nodejs
                V:16.16.0-r0
                A:x86_64
                S:12195388
                I:33898496
                T:JavaScript runtime built on V8 engine - LTS version
                U:https://nodejs.org/
                L:MIT
                o:nodejs
                m:Jakub Jirutka <jakub@jirutka.cz>
                t:1658183261
                c:60ef72f6571ba1057c3c15f2ce3fe532551f4bd3
                k:100
                D:ca-certificates nghttp2-libs>=1.41 /bin/sh so:libbrotlidec.so.1 so:libbrotlienc.so.1 so:libc.musl-x86_64.so.1 so:libcares.so.2 so:libcrypto.so.1.1 so:libgcc_s.so.1 so:libicui18n.so.71 so:libicuuc.so.71 so:libnghttp2.so.14 so:libssl.so.1.1 so:libstdc++.so.6 so:libz.so.1
                p:nodejs-lts=16.16.0 cmd:node=16.16.0-r0
                
                ...
                

                Contents of the APKINDEX file for the index 3.

                For setting up the repository the APK tool can be used, for e.g. generating
                the index. 1

                .
                | -- usr
                     | -- bin
                     |    | -- node
                     | -- share
                          | -- systemtap
                               | -- tapset
                                   | -- node.stp
                

                Example structure of a APK package.

                1 Reply Last reply Reply Quote 0
                • apxltdA Offline
                  apxltd inedo-engineer
                  last edited by

                  Thanks for the updates/info!

                  Hopefully some other folks will find this and express some interest -- I'll update if I hear anything from other users, or there's any marketing interest.

                  By the way, this is different than Android Package Manager APKs. Someone asked about that once because they were curious if ProGet could be like a private app store for mobile apps.

                  Founder and CEO, Inedo

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    appplat_4310
                    last edited by

                    @shfunke_1795 said in Support for Alpine Packages:

                    Hey,
                    for building Docker images we'd like to use internal mirrors
                    for Debian and Alpine packages, right now Alpine is not supported.
                    The support of Alpine packages would be a benefit not only
                    for internal builds on machines without internet access but
                    also in regards of security as then these packages would be
                    included in the security scans for projects under Reporting & SCA.

                    we are in the same scenario and it would be great to be able to rely on proget for this work.
                    we are long-time customers of proget and it would make our lives a lot easier.
                    Best regards.

                    1 Reply Last reply Reply Quote 0
                    • apxltdA Offline
                      apxltd inedo-engineer @shfunke_1795
                      last edited by

                      @shfunke_1795 @jrottmann_6111 @sdohle_3924 @bahues_9728 @appplat_4310

                      Thanks for insight into this! I'm happy to report that starting in ProGet 2023.22, you can create Alpine (APK) feeds with connectors :)

                      Founder and CEO, Inedo

                      1 Reply Last reply Reply Quote 0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      • 1 / 1
                      • First post
                        Last post
                      Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation