snapctl 0.26.0__tar.gz → 0.26.1__tar.gz
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 snapctl might be problematic. Click here for more details.
- {snapctl-0.26.0 → snapctl-0.26.1}/PKG-INFO +1 -1
- {snapctl-0.26.0 → snapctl-0.26.1}/pyproject.toml +1 -1
- {snapctl-0.26.0 → snapctl-0.26.1}/snapctl/commands/byogs.py +4 -2
- {snapctl-0.26.0 → snapctl-0.26.1}/snapctl/commands/byosnap.py +4 -2
- {snapctl-0.26.0 → snapctl-0.26.1}/snapctl/config/constants.py +1 -1
- {snapctl-0.26.0 → snapctl-0.26.1}/README.md +0 -0
- {snapctl-0.26.0 → snapctl-0.26.1}/snapctl/__init__.py +0 -0
- {snapctl-0.26.0 → snapctl-0.26.1}/snapctl/__main__.py +0 -0
- {snapctl-0.26.0 → snapctl-0.26.1}/snapctl/commands/__init__.py +0 -0
- {snapctl-0.26.0 → snapctl-0.26.1}/snapctl/commands/game.py +0 -0
- {snapctl-0.26.0 → snapctl-0.26.1}/snapctl/commands/snapend.py +0 -0
- {snapctl-0.26.0 → snapctl-0.26.1}/snapctl/config/__init__.py +0 -0
- {snapctl-0.26.0 → snapctl-0.26.1}/snapctl/config/endpoints.py +0 -0
- {snapctl-0.26.0 → snapctl-0.26.1}/snapctl/config/hashes.py +0 -0
- {snapctl-0.26.0 → snapctl-0.26.1}/snapctl/main.py +0 -0
- {snapctl-0.26.0 → snapctl-0.26.1}/snapctl/types/__init__.py +0 -0
- {snapctl-0.26.0 → snapctl-0.26.1}/snapctl/types/definitions.py +0 -0
- {snapctl-0.26.0 → snapctl-0.26.1}/snapctl/utils/__init__.py +0 -0
- {snapctl-0.26.0 → snapctl-0.26.1}/snapctl/utils/echo.py +0 -0
- {snapctl-0.26.0 → snapctl-0.26.1}/snapctl/utils/helper.py +0 -0
|
@@ -161,16 +161,18 @@ class ByoGs:
|
|
|
161
161
|
) as progress:
|
|
162
162
|
progress.add_task(
|
|
163
163
|
description='Building your snap...', total=None)
|
|
164
|
+
docker_file_path = f"{self.path}/{self.dockerfile}"
|
|
164
165
|
if platform == "win32":
|
|
165
166
|
response = subprocess.run([
|
|
166
167
|
# f"docker build --no-cache -t {tag} {path}"
|
|
167
|
-
'docker', 'build', '--platform', build_platform, '-t', image_tag,
|
|
168
|
+
'docker', 'build', '--platform', build_platform, '-t', image_tag,
|
|
169
|
+
'-f', docker_file_path, self.path
|
|
168
170
|
], shell=True, check=False)
|
|
169
171
|
# stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT)
|
|
170
172
|
else:
|
|
171
173
|
response = subprocess.run([
|
|
172
174
|
# f"docker build --no-cache -t {tag} {path}"
|
|
173
|
-
f"docker build --platform {build_platform} -t {image_tag} {self.path}"
|
|
175
|
+
f"docker build --platform {build_platform} -t {image_tag} -f {docker_file_path} {self.path}"
|
|
174
176
|
], shell=True, check=False)
|
|
175
177
|
# stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT)
|
|
176
178
|
if response.returncode:
|
|
@@ -169,16 +169,18 @@ class ByoSnap:
|
|
|
169
169
|
) as progress:
|
|
170
170
|
progress.add_task(
|
|
171
171
|
description='Building your snap...', total=None)
|
|
172
|
+
docker_file_path = f"{self.path}/{self.dockerfile}"
|
|
172
173
|
if platform == "win32":
|
|
173
174
|
response = subprocess.run([
|
|
174
175
|
# f"docker build --no-cache -t {tag} {path}"
|
|
175
|
-
'docker', 'build', '--platform', build_platform, '-t', image_tag,
|
|
176
|
+
'docker', 'build', '--platform', build_platform, '-t', image_tag,
|
|
177
|
+
'-f', docker_file_path, self.path
|
|
176
178
|
], shell=True, check=False)
|
|
177
179
|
# stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT)
|
|
178
180
|
else:
|
|
179
181
|
response = subprocess.run([
|
|
180
182
|
# f"docker build --no-cache -t {tag} {path}"
|
|
181
|
-
f"docker build --platform {build_platform} -t {image_tag} {self.path}"
|
|
183
|
+
f"docker build --platform {build_platform} -t {image_tag} -f {docker_file_path} {self.path}"
|
|
182
184
|
], shell=True, check=False)
|
|
183
185
|
# stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT)
|
|
184
186
|
if response.returncode:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|