build: trimming unnecessary image configuration

This commit is contained in:
Brendan Hay 2019-12-16 09:18:08 +01:00
parent bfd2e533a1
commit 249c02fe9f
No known key found for this signature in database
GPG Key ID: 80E915C54A7C457D

View File

@ -8,23 +8,20 @@ pkgs.dockerTools.buildImage {
set -euo pipefail
export PATH=/bin:/usr/bin:/sbin:/usr/sbin:$PATH
${pkgs.dockerTools.shadowSetup}
mkdir -p /bin /share /data /tmp
mkdir -p /share /data /tmp
${pkgs.coreutils}/bin/ln -sf ${pill} /share/urbit.pill
${pkgs.coreutils}/bin/ln -sf ${entrypoint} /bin/urbit
'';
contents = [ urbit ];
config = {
Entrypoint = [ "urbit" ];
Entrypoint = [ urbit.meta.name ];
WorkingDir = "/data";
Env = [ "PATH=/bin" ];
Volumes = {
"/data" = {};
};