mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-03-15 00:36:05 +01:00
Compare commits
2 commits
eff1afb09a
...
3cd3c2c036
| Author | SHA1 | Date | |
|---|---|---|---|
| 3cd3c2c036 | |||
| fa26752913 |
2 changed files with 16 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
|
||||
6
docker-images/debian12.Dockerfile
Normal file
6
docker-images/debian12.Dockerfile
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
FROM debian:12
|
||||
|
||||
RUN apt-get update && apt-get install -y build-essential clang git curl
|
||||
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup-init.sh
|
||||
RUN sh rustup-init.sh -y && rm rustup-init.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue