Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Break install-all into phases to allow for some Docker layers #346

Merged
merged 1 commit into from
Feb 1, 2023

Conversation

clarkb7
Copy link
Contributor

@clarkb7 clarkb7 commented Jan 31, 2023

Break install-all into phases to allow for some Docker layers

Keep main behavior in env var helpers and write to USER env instead of SYSTEM env

  • having git find on SYSTEM path broke vs_buildtools.exe

Change env var helpers to write to USER env instead of SYSTEM env
@clarkb7 clarkb7 requested review from a team as code owners January 31, 2023 22:42
Comment on lines +68 to +75
COPY ./windows/helpers/phase1/*.ps1 c:/scripts/helpers/phase1/
RUN .\install-all.ps1 -TargetContainer -Phase 1
COPY ./windows/helpers/phase2/*.ps1 c:/scripts/helpers/phase2/
RUN .\install-all.ps1 -TargetContainer -Phase 2
COPY ./windows/helpers/phase3/*.ps1 c:/scripts/helpers/phase3/
RUN .\install-all.ps1 -TargetContainer -Phase 3
COPY ./windows/helpers/phase4/*.ps1 c:/scripts/helpers/phase4/
RUN .\install-all.ps1 -TargetContainer -Phase 4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to have a more meaningful names instead of numbers (I wonder)

Copy link
Contributor

@julien-lebot julien-lebot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@clarkb7 clarkb7 merged commit 4205bfa into db/std-toolchain Feb 1, 2023
@clarkb7 clarkb7 deleted the branden.clark/std-toolchain branch February 1, 2023 18:04
clarkb7 added a commit that referenced this pull request Feb 7, 2023
Change env var helpers to write to USER env instead of SYSTEM env
derekwbrown added a commit that referenced this pull request Feb 16, 2023
…#276)

* DO NOT MERGE

Initial revision.
Attempting single run windows container, in hopes of being able to make
shared environment script

* fix path location (vcpkg)

* temp stop before vcpkg for debugging

* fix path error in networking script

* fix vcpkg

* fix go entry in path

* make work on local system

* fix typo in gsdk

* debugging statement for vcpkg

* remove ridk enable; fixes calls to cmd

* Working both locally and in container

* clean up python handling

fix error in go path finding

Attempt to catch msys install failure

:Add some debugging for 2022ltsc

Move mingit after vstudio

fix path to patch

* Break install-all into phases to allow for some Docker layers (#346)

Change env var helpers to write to USER env instead of SYSTEM env

* Apply suggestions from code review

Co-authored-by: Julien Lebot <[email protected]>

* fix dockerfile syntax

* Fix go SHA256

Ensure Get-RemoteFile can handle empty env vars

---------

Co-authored-by: Branden Clark <[email protected]>
Co-authored-by: Julien Lebot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants