truss 0.11.9rc503__py3-none-any.whl → 0.11.9rc504__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of truss might be problematic. Click here for more details.
- truss/contexts/image_builder/serving_image_builder.py +0 -11
- truss/templates/base.Dockerfile.jinja +1 -0
- {truss-0.11.9rc503.dist-info → truss-0.11.9rc504.dist-info}/METADATA +1 -1
- {truss-0.11.9rc503.dist-info → truss-0.11.9rc504.dist-info}/RECORD +7 -7
- {truss-0.11.9rc503.dist-info → truss-0.11.9rc504.dist-info}/WHEEL +0 -0
- {truss-0.11.9rc503.dist-info → truss-0.11.9rc504.dist-info}/entry_points.txt +0 -0
- {truss-0.11.9rc503.dist-info → truss-0.11.9rc504.dist-info}/licenses/LICENSE +0 -0
|
@@ -784,16 +784,7 @@ class ServingImageBuilder(ImageBuilder):
|
|
|
784
784
|
config
|
|
785
785
|
)
|
|
786
786
|
|
|
787
|
-
# Debug: Print the actual values
|
|
788
|
-
non_root_user_env = os.getenv("BT_USE_NON_ROOT_USER")
|
|
789
|
-
print(f"DEBUG: BT_USE_NON_ROOT_USER env var value: {repr(non_root_user_env)}")
|
|
790
|
-
print(f"DEBUG: BT_USE_NON_ROOT_USER type: {type(non_root_user_env)}")
|
|
791
|
-
|
|
792
787
|
non_root_user = os.getenv("BT_USE_NON_ROOT_USER", False)
|
|
793
|
-
print(f"DEBUG: non_root_user value: {repr(non_root_user)}")
|
|
794
|
-
print(f"DEBUG: non_root_user type: {type(non_root_user)}")
|
|
795
|
-
print(f"DEBUG: non_root_user truthiness: {bool(non_root_user)}")
|
|
796
|
-
|
|
797
788
|
dockerfile_contents = dockerfile_template.render(
|
|
798
789
|
should_install_server_requirements=should_install_server_requirements,
|
|
799
790
|
base_image_name_and_tag=base_image_name_and_tag,
|
|
@@ -836,5 +827,3 @@ class ServingImageBuilder(ImageBuilder):
|
|
|
836
827
|
).strip()
|
|
837
828
|
docker_file_path = build_dir / MODEL_DOCKERFILE_NAME
|
|
838
829
|
docker_file_path.write_text(dockerfile_contents)
|
|
839
|
-
import time
|
|
840
|
-
time.sleep(100000)
|
|
@@ -18,6 +18,7 @@ ENV PYTHON_EXECUTABLE="{{ python_executable }}"
|
|
|
18
18
|
{# The non-root user's home directory. #}
|
|
19
19
|
{# uv will use $HOME to install packages. #}
|
|
20
20
|
ENV HOME=${HOME:-/home/{{ app_username }}}
|
|
21
|
+
{%- set default_owner = app_username + ":" + app_username %}
|
|
21
22
|
{%- else %}
|
|
22
23
|
{# This is the default, but we use this variable later so ... setting it here too.#}
|
|
23
24
|
ENV HOME=${HOME:-/root}
|
|
@@ -36,7 +36,7 @@ truss/contexts/docker_build_setup.py,sha256=cF4ExZgtYvrWxvyCAaUZUvV_DB_7__MqVomU
|
|
|
36
36
|
truss/contexts/truss_context.py,sha256=uS6L-ACHxNk0BsJwESOHh1lA0OGGw0pb33aFKGsASj4,436
|
|
37
37
|
truss/contexts/image_builder/cache_warmer.py,sha256=TGMV1Mh87n2e_dSowH0sf0rZhZraDOR-LVapZL3a5r8,7377
|
|
38
38
|
truss/contexts/image_builder/image_builder.py,sha256=IuRgDeeoHVLzIkJvKtX3807eeqEyaroCs_KWDcIHZUg,1461
|
|
39
|
-
truss/contexts/image_builder/serving_image_builder.py,sha256=
|
|
39
|
+
truss/contexts/image_builder/serving_image_builder.py,sha256=n6MTHMZsANSTGXPfkKDJ1Ch4fEc6HIjbOXA_1B9zt9Q,33438
|
|
40
40
|
truss/contexts/image_builder/util.py,sha256=y2-CjUKv0XV-0w2sr1fUCflysDJLsoU4oPp6tvvoFnk,1203
|
|
41
41
|
truss/contexts/local_loader/docker_build_emulator.py,sha256=3n0eIlJblz_sldh4AN8AHQDyfjQGdYyld5FabBdd9wE,3563
|
|
42
42
|
truss/contexts/local_loader/dockerfile_parser.py,sha256=GoRJ0Af_3ILyLhjovK5lrCGn1rMxz6W3l681ro17ZzI,1344
|
|
@@ -66,7 +66,7 @@ truss/remote/baseten/utils/time.py,sha256=Ry9GMjYnbIGYVIGwtmv4V8ljWjvdcaCf5NOQzl
|
|
|
66
66
|
truss/remote/baseten/utils/transfer.py,sha256=d3VptuQb6M1nyS6kz0BAfeOYDLkMKUjatJXpY-mp-As,1548
|
|
67
67
|
truss/templates/README.md.jinja,sha256=N7CJdyldZuJamj5jLh47le0hFBdu9irVsTBqoxhPNPQ,2476
|
|
68
68
|
truss/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
69
|
-
truss/templates/base.Dockerfile.jinja,sha256=
|
|
69
|
+
truss/templates/base.Dockerfile.jinja,sha256=lczzS-uQuIBzGf4H3ilaIOVQ8DfUiOHvf0BqaIe0SCo,5314
|
|
70
70
|
truss/templates/cache.Dockerfile.jinja,sha256=1qZqDo1phrcqi-Vwol-VafYJkADsBbQWU6huQ-_1x00,1146
|
|
71
71
|
truss/templates/cache_requirements.txt,sha256=xoPoJ-OVnf1z6oq_RVM3vCr3ionByyqMLj7wGs61nUs,87
|
|
72
72
|
truss/templates/copy_cache_files.Dockerfile.jinja,sha256=Os5zFdYLZ_AfCRGq4RcpVTObOTwL7zvmwYcvOzd_Zqo,126
|
|
@@ -369,8 +369,8 @@ truss_train/deployment.py,sha256=lWWANSuzBWu2M4oK4qD7n-oVR1JKdmw2Pn5BJQHg-Ck,307
|
|
|
369
369
|
truss_train/loader.py,sha256=0o66EjBaHc2YY4syxxHVR4ordJWs13lNXnKjKq2wq0U,1630
|
|
370
370
|
truss_train/public_api.py,sha256=9N_NstiUlmBuLUwH_fNG_1x7OhGCytZLNvqKXBlStrM,1220
|
|
371
371
|
truss_train/restore_from_checkpoint.py,sha256=8hdPm-WSgkt74HDPjvCjZMBpvA9MwtoYsxVjOoa7BaM,1176
|
|
372
|
-
truss-0.11.
|
|
373
|
-
truss-0.11.
|
|
374
|
-
truss-0.11.
|
|
375
|
-
truss-0.11.
|
|
376
|
-
truss-0.11.
|
|
372
|
+
truss-0.11.9rc504.dist-info/METADATA,sha256=S3rrkYuoy5JyT7PLNKx6ewe0Wkkw8-DC9L9kQhV6-Yo,6682
|
|
373
|
+
truss-0.11.9rc504.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
374
|
+
truss-0.11.9rc504.dist-info/entry_points.txt,sha256=-MwKfHHQHQ6j0HqIgvxrz3CehCmczDLTD-OsRHnjjuU,130
|
|
375
|
+
truss-0.11.9rc504.dist-info/licenses/LICENSE,sha256=FTqGzu85i-uw1Gi8E_o0oD60bH9yQ_XIGtZbA1QUYiw,1064
|
|
376
|
+
truss-0.11.9rc504.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|