mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-27 15:30:44 +00:00
Add new CI image target based on 32bit Alpine with musl. It's a copy of musl and requires docker's buildx extension to properly select the platform. Signed-off-by: David Sterba <dsterba@suse.com>
12 lines
363 B
Bash
Executable File
12 lines
363 B
Bash
Executable File
#!/bin/sh
|
|
# Run from the directory with Dockerfile, directory name should match the image
|
|
# name
|
|
|
|
prefix=kdave
|
|
image=$(basename `pwd` | tr '[A-Z]' '[a-z]')
|
|
|
|
# Make sure the file exists as it's required but can be empty. In that case
|
|
# it's downloaded when ./test-build is executed
|
|
touch devel.tar.gz
|
|
docker buildx build --platform linux/386 -t "$prefix/$image" .
|