Skip to content

Commit

Permalink
Add environment variable to compose.py (#7909)
Browse files Browse the repository at this point in the history
  • Loading branch information
mc-nv authored Dec 30, 2024
1 parent be1cf12 commit be07557
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion compose.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright 2021-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright 2021-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
Expand Down Expand Up @@ -88,6 +88,8 @@ def start_dockerfile(ddir, images, argmap, dockerfile_name, backends):

df += """
FROM {}
ENV PIP_BREAK_SYSTEM_PACKAGES=1
""".format(
images["min"]
)
Expand Down

0 comments on commit be07557

Please sign in to comment.