shipit-cli 0.6.0__py3-none-any.whl → 0.6.1__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.
- shipit/cli.py +17 -6
- shipit/version.py +2 -2
- {shipit_cli-0.6.0.dist-info → shipit_cli-0.6.1.dist-info}/METADATA +1 -1
- {shipit_cli-0.6.0.dist-info → shipit_cli-0.6.1.dist-info}/RECORD +6 -6
- {shipit_cli-0.6.0.dist-info → shipit_cli-0.6.1.dist-info}/WHEEL +0 -0
- {shipit_cli-0.6.0.dist-info → shipit_cli-0.6.1.dist-info}/entry_points.txt +0 -0
shipit/cli.py
CHANGED
|
@@ -317,10 +317,10 @@ RUN chmod {oct(mode)[2:]} {path.absolute()}
|
|
|
317
317
|
return
|
|
318
318
|
if dependency.version:
|
|
319
319
|
self.docker_file_contents += (
|
|
320
|
-
f"RUN
|
|
320
|
+
f"RUN mise use --global {dependency.name}@{dependency.version}\n"
|
|
321
321
|
)
|
|
322
322
|
else:
|
|
323
|
-
self.docker_file_contents += f"RUN
|
|
323
|
+
self.docker_file_contents += f"RUN mise use --global {dependency.name}\n"
|
|
324
324
|
|
|
325
325
|
def build(
|
|
326
326
|
self, env: Dict[str, str], mounts: List[Mount], steps: List[Step]
|
|
@@ -328,15 +328,26 @@ RUN chmod {oct(mode)[2:]} {path.absolute()}
|
|
|
328
328
|
base_path = self.docker_path
|
|
329
329
|
shutil.rmtree(base_path, ignore_errors=True)
|
|
330
330
|
base_path.mkdir(parents=True, exist_ok=True)
|
|
331
|
-
self.docker_file_contents = "FROM debian:
|
|
331
|
+
self.docker_file_contents = "FROM debian:trixie-slim AS build\n"
|
|
332
|
+
|
|
332
333
|
self.docker_file_contents += """
|
|
333
334
|
RUN apt-get update \\
|
|
334
|
-
&& apt-get -y --no-install-recommends install
|
|
335
|
+
&& apt-get -y --no-install-recommends install \\
|
|
336
|
+
build-essential gcc make \\
|
|
337
|
+
dpkg-dev pkg-config \\
|
|
338
|
+
libmariadb-dev libmariadb-dev-compat libpq-dev \\
|
|
339
|
+
sudo curl ca-certificates \\
|
|
335
340
|
&& rm -rf /var/lib/apt/lists/*
|
|
336
341
|
|
|
337
342
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
338
|
-
|
|
339
|
-
|
|
343
|
+
ENV MISE_DATA_DIR="/mise"
|
|
344
|
+
ENV MISE_CONFIG_DIR="/mise"
|
|
345
|
+
ENV MISE_CACHE_DIR="/mise/cache"
|
|
346
|
+
ENV MISE_INSTALL_PATH="/usr/local/bin/mise"
|
|
347
|
+
ENV PATH="/mise/shims:$PATH"
|
|
348
|
+
# ENV MISE_VERSION="..."
|
|
349
|
+
|
|
350
|
+
RUN curl https://mise.run | sh
|
|
340
351
|
"""
|
|
341
352
|
# docker_file_contents += "RUN curl https://mise.run | sh\n"
|
|
342
353
|
# self.docker_file_contents += """
|
shipit/version.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
shipit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
shipit/cli.py,sha256=
|
|
2
|
+
shipit/cli.py,sha256=9L2BIxwZsRrOOR5hIw75NhQWlFqXchMlrbS7qslGWfs,53264
|
|
3
3
|
shipit/generator.py,sha256=7kOUUDdibUM8-KRUJJugyVLAdu9UIAtWEe6aU6NVajU,6106
|
|
4
|
-
shipit/version.py,sha256=
|
|
4
|
+
shipit/version.py,sha256=Ct7YXXUESk4JUZghzhEdPrW4vt9J9zlnrxuYtQ5snpI,95
|
|
5
5
|
shipit/assets/php/php.ini,sha256=f4irndAjB4GuuouEImRkNV22Q-yw1KqR-43jAMDw730,2531
|
|
6
6
|
shipit/providers/base.py,sha256=WyVazgB1otGiTXOezYmvqPOm1Nt6mYdLvflSiZrXT7g,2593
|
|
7
7
|
shipit/providers/gatsby.py,sha256=2m00AuiuacOgJpDMjp5v7WIG9kC9RGKFBG6-rzwbiW0,2219
|
|
@@ -13,7 +13,7 @@ shipit/providers/php.py,sha256=nvB4JHwCxyRbayj3waEHicjATE8C0KxtRnwJuZ7mvFY,2675
|
|
|
13
13
|
shipit/providers/python.py,sha256=dPKOaxbzUaK1_2LiBpOPZlKfU4dlcac-rWDCew69JKE,18968
|
|
14
14
|
shipit/providers/registry.py,sha256=UisII1dr24ZxmDD8GnpTsyNwPN9W8MnAHQ1Px1iJ-OQ,661
|
|
15
15
|
shipit/providers/staticfile.py,sha256=m1rzbCRO7YWdUH6j0HSMp8OMBktdfwoY_PhFNYe71Xk,1908
|
|
16
|
-
shipit_cli-0.6.
|
|
17
|
-
shipit_cli-0.6.
|
|
18
|
-
shipit_cli-0.6.
|
|
19
|
-
shipit_cli-0.6.
|
|
16
|
+
shipit_cli-0.6.1.dist-info/METADATA,sha256=Z9h1DnDBU-3cbqzZ2W0gCce6volmhcDoktd-Atp3C4I,462
|
|
17
|
+
shipit_cli-0.6.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
18
|
+
shipit_cli-0.6.1.dist-info/entry_points.txt,sha256=7AE1NjSrHaSDfbfsRRO50KKnHFTbB0Imsccd1WynzAQ,72
|
|
19
|
+
shipit_cli-0.6.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|