mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-14 19:55:08 +01:00
add docker images
This commit is contained in:
parent
eff1afb09a
commit
fa26752913
2 changed files with 13 additions and 0 deletions
10
docker-images/build.sh
Executable file
10
docker-images/build.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
p=$(dirname "$0")
|
||||
|
||||
for dockerfile in "$p"/*.Dockerfile; do
|
||||
imgname=$(basename "$dockerfile" .Dockerfile)
|
||||
echo "Building $dockerfile"
|
||||
|
||||
docker build "$p" -t "$imgname:latest" -f "$dockerfile"
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue