Fix fdroid update in the container
This commit is contained in:
@@ -46,19 +46,20 @@
|
||||
tag = "latest";
|
||||
|
||||
contents = with pkgs; [
|
||||
coreutils
|
||||
bashInteractive
|
||||
caddy
|
||||
dockerTools.fakeNss # Provides fake /etc/passwd for basic user emulation
|
||||
dockerTools.usrBinEnv
|
||||
dockerTools.binSh
|
||||
dockerTools.caCertificates
|
||||
|
||||
coreutils
|
||||
bashInteractive
|
||||
caddy
|
||||
fdroidserver
|
||||
jq
|
||||
curl
|
||||
sops
|
||||
git
|
||||
rsync
|
||||
busybox
|
||||
];
|
||||
|
||||
config = {
|
||||
@@ -67,6 +68,9 @@
|
||||
ExposedPorts = {
|
||||
"8080/tcp" = {};
|
||||
};
|
||||
Env = [
|
||||
"PATH=/bin:${pkgs.jdk21_headless}/bin"
|
||||
];
|
||||
};
|
||||
maxLayers = 10;
|
||||
};
|
||||
@@ -74,6 +78,8 @@
|
||||
# nix build .#container
|
||||
# docker load < result
|
||||
packages.${system}.container = dockerImage;
|
||||
|
||||
# deploy
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
packages = [
|
||||
deploy-script
|
||||
|
||||
Reference in New Issue
Block a user