2023-05-23 16:34:12 +00:00
|
|
|
#!/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
|
2024-01-26 04:54:26 +00:00
|
|
|
docker build --platform linux/386 -t "$prefix/$image" .
|