Skip to content

Commit

Permalink
Move script changes to base image
Browse files Browse the repository at this point in the history
  • Loading branch information
WouterDeKort committed Dec 18, 2024
1 parent 6ba0d07 commit f900990
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 299 deletions.
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# These get copied locally when running Invoke-CNAB not in a container
# Temporarily including these while building out CNAB v2 support
# cnab/app/container-registry-discovery.ps1
# cnab/app/gcp-cluster-discovery.ps1
# cnab/app/run.ps1
# cnab/app/utils.ps1
cnab/app/container-registry-discovery.ps1
cnab/app/gcp-cluster-discovery.ps1
cnab/app/run.ps1
cnab/app/utils.ps1

#################
## Visual Studio
Expand Down
4 changes: 2 additions & 2 deletions cnab/Invoke-CNAB.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ param (
[string]
$Target = "GCP",
[bool]
$DownloadLocalScriptsForLocalDebugging = $false,
$DownloadLocalScriptsForLocalDebugging = $true,
[string]
$Version = "2024.11.20.122",
$Version = "pr-21",
[string]
$PathToDeploymentPipelineVariables = "file:///D:/code/deployment-pipeline-variables"
)
Expand Down
43 changes: 0 additions & 43 deletions cnab/app/container-registry-discovery.ps1

This file was deleted.

7 changes: 0 additions & 7 deletions cnab/app/run

This file was deleted.

154 changes: 0 additions & 154 deletions cnab/app/run.ps1

This file was deleted.

85 changes: 0 additions & 85 deletions cnab/app/utils.ps1

This file was deleted.

6 changes: 2 additions & 4 deletions cnab/build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
FROM cr.stackoverflow.software/so-pubplat-cnab:2024.10.16.174409-276.1@sha256:36cf26cd2d2ea251ce46edcc966174ab1ed95ccf2818cdc763ba58a384328177
FROM crdev.stackoverflow.software/so-pubplat-cnab:2024.12.18.144537-prerelease@sha256:742931970046fe449345b9960a4c1ca1a180adcb42f7d1f958105d8c227086e4

COPY ./cnab/app /cnab/app
COPY ./charts /cnab/app/charts
RUN chmod 755 /cnab/app/run.ps1
RUN chmod 755 /cnab/app/run

ARG BUNDLE_VERSION
ENV BUNDLE_VERSION=${BUNDLE_VERSION}

CMD ["/cnab/app/run"]
CMD ["/cnab/app/run.ps1"]

0 comments on commit f900990

Please sign in to comment.