2024-06-27 00:17:01 +00:00
|
|
|
{ dockerTools
|
|
|
|
, agda-bin
|
|
|
|
, bash
|
2024-10-21 11:42:10 +00:00
|
|
|
, corepack
|
2024-06-27 00:17:01 +00:00
|
|
|
, coreutils
|
2024-10-21 11:42:10 +00:00
|
|
|
, gitMinimal
|
2024-06-27 00:47:02 +00:00
|
|
|
, gnused
|
2024-10-21 11:42:10 +00:00
|
|
|
, minio-client
|
|
|
|
, nodejs_20
|
|
|
|
, openssh
|
2024-06-27 01:29:52 +00:00
|
|
|
, pkgsLinux
|
2024-10-21 11:42:10 +00:00
|
|
|
, rsync
|
2024-06-27 00:17:01 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
dockerTools.buildLayeredImage {
|
|
|
|
name = "blog-docker-builder";
|
|
|
|
|
|
|
|
contents = with dockerTools; [
|
|
|
|
agda-bin
|
|
|
|
bash
|
2024-10-21 10:37:32 +00:00
|
|
|
caCertificates
|
|
|
|
corepack
|
2024-06-27 00:17:01 +00:00
|
|
|
coreutils
|
2024-10-21 10:37:32 +00:00
|
|
|
fakeNss
|
2024-10-21 11:42:10 +00:00
|
|
|
gitMinimal
|
2024-06-27 00:47:02 +00:00
|
|
|
gnused
|
2024-10-21 11:42:10 +00:00
|
|
|
minio-client
|
2024-10-21 10:37:32 +00:00
|
|
|
nodejs_20
|
|
|
|
openssh
|
|
|
|
rsync
|
2024-06-27 00:17:01 +00:00
|
|
|
usrBinEnv
|
|
|
|
];
|
2024-06-27 01:29:52 +00:00
|
|
|
|
|
|
|
# fakeRootCommands = ''
|
|
|
|
# #!${pkgsLinux.runtimeShell}
|
|
|
|
# ${pkgsLinux.dockerTools.shadowSetup}
|
|
|
|
# groupadd -r builder
|
|
|
|
# useradd -r -g builder builder
|
|
|
|
# '';
|
2024-06-27 00:17:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# copyToRoot = with dockerTools; buildEnv {
|
|
|
|
# name = "blog-docker-builder-image-root";
|
|
|
|
# paths = [
|
|
|
|
# ];
|
|
|
|
# };
|
2024-06-26 23:18:25 +00:00
|
|
|
|