Created
August 16, 2023 12:59
-
-
Save stokito/4901a4b76834a8d1ec33f70d70785e67 to your computer and use it in GitHub Desktop.
Extract/Untar files from Alpine APK file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The Alpine package apk file is just a tar.gz file with additional files | |
# https://wiki.alpinelinux.org/wiki/Apk_spec | |
# untar into /tmp/ folder without the .PKGINFO and .SIGN.RSA file | |
tar -xzf openjdk8-jre.apk -C /tmp/ --exclude=.PKGINFO --exclude=.SIGN* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment