mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-12 09:26:31 +00:00
12 lines
335 B
Plaintext
12 lines
335 B
Plaintext
|
#!/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 build -t "$prefix/$image" .
|