Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ jobs:
with:
package-name: make

- uses: chainguard-dev/actions/inky-build-pkg@main
with:
package-name: file

- name: 'Upload the repository to a bucket'
run: |
cp /etc/apk/keys/wolfi-signing.rsa.pub ${{ github.workspace }}/packages/wolfi-signing.rsa.pub
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,6 @@ $(eval $(call build-empty-package,texinfo,6.8-r0))
$(eval $(call build-empty-package,gzip,1.12-r1))
$(eval $(call build-package,busybox,1.35.0-r2))
$(eval $(call build-empty-package,make,4.3-r1))
$(eval $(call build-empty-package,file,5.42-r1))

.build-packages: ${PACKAGES}
42 changes: 42 additions & 0 deletions file.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
package:
name: file
version: 5.42
epoch: 1
description: "file-type identification utility"
target-architecture:
- all
copyright:
- paths:
- "*"
attestation: TODO
license: BSD-2-Clause
dependencies:
runtime:

environment:
contents:
repositories:
- https://packages.wolfi.dev/bootstrap/stage3
keyring:
- https://packages.wolfi.dev/bootstrap/stage3/wolfi-signing.rsa.pub
packages:
- busybox
- ca-certificates-bundle
- build-base
- file

pipeline:
- uses: fetch
with:
uri: http://ftp.astron.com/pub/file/file-${{package.version}}.tar.gz
expected-sha256: c076fb4d029c74073f15c43361ef572cfb868407d347190ba834af3b1639b0e4
- name: Configure
runs: |
./configure \
--host=$(uname -m)-pc-linux-gnu \
--target=$(uname -m)-pc-linux-gnu \
--prefix=/usr \
--datadir=/usr/share
- uses: autoconf/make
- uses: autoconf/make-install
- uses: strip