Skip to content

Commit

Permalink
docker: use buildEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Mar 5, 2024
1 parent 9ac554b commit ae2a727
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions nix/docker.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@
{
name = "sridca/emanote";
tag = "latest";
copyToRoot = [
self'.packages.default
# These are required for the GitLab CI runner
pkgs.coreutils
pkgs.bash_5
];
copyToRoot = pkgs.buildEnv {
name = "image-root";
paths = [
self'.packages.default
# These are required for the GitLab CI runner
pkgs.coreutils
pkgs.bash_5
];
pathsToLink = [ "/bin" ];
};
config = {
WorkingDir = "/data";
Volumes = {
Expand Down

0 comments on commit ae2a727

Please sign in to comment.