-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Bump imgutil to feature/23-windows-linux-images branch - Make separate stacks for linux/windows Signed-off-by: Micah Young <ymicah@vmware.com>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
dir="$(cd $(dirname $0) && pwd)" | ||
os=$(docker info --format '{{json .}}' | jq -r .OSType) | ||
|
||
docker build --tag pack-test/build "$dir"/build | ||
docker build --tag pack-test/run "$dir"/run | ||
docker build --tag pack-test/build "$dir"/$os/build | ||
docker build --tag pack-test/run "$dir"/$os/run |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM mcr.microsoft.com/windows/nanoserver:1809 | ||
|
||
# placeholder values until correct values are deteremined | ||
ENV CNB_USER_ID=0 | ||
ENV CNB_GROUP_ID=0 | ||
|
||
USER ContainerAdministrator | ||
|
||
RUN net users /ADD pack /passwordreq:no /expires:never | ||
|
||
LABEL io.buildpacks.stack.id=pack.test.stack | ||
LABEL io.buildpacks.stack.mixins="[\"mixinA\", \"build:mixinTwo\", \"netcat\", \"mixin3\"]" | ||
|
||
USER pack |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM mcr.microsoft.com/windows/nanoserver:1809 | ||
|
||
# placeholder values until correct values are deteremined | ||
ENV CNB_USER_ID=0 | ||
ENV CNB_GROUP_ID=0 | ||
|
||
USER ContainerAdministrator | ||
|
||
RUN net users /ADD pack /passwordreq:no /expires:never | ||
|
||
LABEL io.buildpacks.stack.id=pack.test.stack | ||
LABEL io.buildpacks.stack.mixins="[\"mixinA\", \"netcat\", \"mixin3\"]" | ||
|
||
USER pack |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,4 +40,4 @@ | |
{{- end}} | ||
{{- if .lifecycle_version}} | ||
version = "{{.lifecycle_version}}" | ||
{{- end}} | ||
{{- end}} |
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.