You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

28 lines
468 B

{ pkgs ? import <nixpkgs> {} }:
with pkgs;
let
# entrypoint = writeScript "entrypoint.sh" ''
# #!${stdenv.shell}
# set -e
# exec "$@"
# '';
in
dockerTools.buildImage {
name = "radicale";
runAsRoot = ''
#!${stdenv.shell}
${dockerTools.shadowSetup}
'';
contents = [ radicale ];
config = {
# Cmd = [ "radicale" ];
Entrypoint = [ "radicale" ];
ExposedPorts = {
"6379/tcp" = {};
};
WorkingDir = "/data";
};
}