mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-03 04:40:50 +03:00
build: trimming unnecessary image configuration
This commit is contained in:
parent
bfd2e533a1
commit
249c02fe9f
@ -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" = {};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user