Fix fdroid update in the container

This commit is contained in:
2026-06-22 08:36:34 +02:00
parent 352e32adbc
commit f63c603ddb
+10 -4
View File
@@ -46,19 +46,20 @@
tag = "latest"; tag = "latest";
contents = with pkgs; [ contents = with pkgs; [
coreutils
bashInteractive
caddy
dockerTools.fakeNss # Provides fake /etc/passwd for basic user emulation dockerTools.fakeNss # Provides fake /etc/passwd for basic user emulation
dockerTools.usrBinEnv dockerTools.usrBinEnv
dockerTools.binSh dockerTools.binSh
dockerTools.caCertificates dockerTools.caCertificates
coreutils
bashInteractive
caddy
fdroidserver fdroidserver
jq jq
curl curl
sops sops
git git
rsync
busybox
]; ];
config = { config = {
@@ -67,6 +68,9 @@
ExposedPorts = { ExposedPorts = {
"8080/tcp" = {}; "8080/tcp" = {};
}; };
Env = [
"PATH=/bin:${pkgs.jdk21_headless}/bin"
];
}; };
maxLayers = 10; maxLayers = 10;
}; };
@@ -74,6 +78,8 @@
# nix build .#container # nix build .#container
# docker load < result # docker load < result
packages.${system}.container = dockerImage; packages.${system}.container = dockerImage;
# deploy
devShells.${system}.default = pkgs.mkShell { devShells.${system}.default = pkgs.mkShell {
packages = [ packages = [
deploy-script deploy-script