mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-14 11:45:06 +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
|
||||||
3
docker-images/debian12.Dockerfile
Normal file
3
docker-images/debian12.Dockerfile
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
FROM debian:12
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y build-essential clang git curl
|
||||||
Loading…
Add table
Add a link
Reference in a new issue