-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace docker hub links with mcr links in our docs (#338)
* replace docker hub links qwith mcr links in our docs * remove doc changes as a trigger for validation builds * undo trigger changes for validation build * test without git checkout * add back checkout step
- Loading branch information
Showing
4 changed files
with
13 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# specify with `--build-arg "runtime-version"` | ||
# available runtimes listed at https://hub.docker.com/u/oryxprod | ||
ARG RUNTIME=node-10.14 | ||
ARG RUNTIME=node:10.14 | ||
|
||
FROM docker.io/oryxprod/build:latest as build | ||
FROM mcr.microsoft.com/oryx/build:latest as build | ||
WORKDIR /app | ||
COPY . . | ||
RUN oryx build /app | ||
|
||
FROM docker.io/oryxprod/${RUNTIME}:latest | ||
FROM mcr.microsoft.com/oryx/${RUNTIME} | ||
COPY --from=build /app /app | ||
RUN cd /app && oryx | ||
ENTRYPOINT ["/app/run.sh"] |