diff options
author | Vincent Ambo <tazjin@google.com> | 2019-07-24T17·46+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-07-24T17·46+0000 |
commit | 948f308025e5d1a3a4575b41d4b20d97f363c5c2 (patch) | |
tree | dc6a0515e95216025129fb5af315c0ad6747fbb5 /tools/nixery/static/index.html | |
parent | 18b4ae9f28ae4b56df1529eaca8039e326df64e1 (diff) |
feat(build): Configure Nixery image builder to set up env correctly
When running Nix inside of a container image, there are several environment-specific details that need to be configured appropriately. Most importantly, since one of the recent Nix 2.x releases, sandboxing during builds is enabled by default. This, however, requires kernel privileges which commonly aren't available to containers. Nixery's demo instance (for instance, hehe) is deployed on AppEngine where this type of container configuration is difficult, hence this change. Specifically the following were changed: * additional tools (such as tar/gzip) were introduced into the image because the builtins-toolset in Nix does not reference these tools via their store paths, which leads to them not being included automatically * Nix sandboxing was disabled in the container image * the users/groups required by Nix were added to the container setup. Note that these are being configured manually instead of via the tools from the 'shadow'-package, because the latter requires some user information (such as root) to be present already, which is not the case inside of the container
Diffstat (limited to 'tools/nixery/static/index.html')
0 files changed, 0 insertions, 0 deletions