-
Notifications
You must be signed in to change notification settings - Fork 14
Differentiate SONiC base image versions and use 202505 #260
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
Changes from 5 commits
a5797aa
6409692
6f45904
1943628
f55ad59
9de8fc5
3f38ea2
f57b961
5c4d531
f7f718a
337c58d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,8 +14,8 @@ RUN apt-get update && \ | |
| qemu-system-x86 \ | ||
| telnet | ||
|
|
||
| COPY --from=ghcr.io/metal-stack/mini-lab-sonic:base /sonic-vs.img /sonic-vs.img | ||
| COPY --from=ghcr.io/metal-stack/mini-lab-sonic:base /frr-pythontools.deb /frr-pythontools.deb | ||
| COPY --from=ghcr.io/metal-stack/mini-lab-sonic-base:master /sonic-vs.img /sonic-vs.img | ||
| COPY --from=ghcr.io/metal-stack/mini-lab-sonic-base:master /frr-pythontools.deb /frr-pythontools.deb | ||
|
||
|
|
||
| ENTRYPOINT ["/launch.py"] | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # Check: https://sonic-build.azurewebsites.net/ui/sonic/pipelines | ||
| ARG SONIC_BASE_URL=https://sonic-build.azurewebsites.net/api/sonic/artifacts?branchName=202411&platform=vs | ||
| ARG SONIC_IMG_URL=${SONIC_BASE_URL}&target=target%2Fsonic-vs.img.gz | ||
| ARG FRR_RELOAD_URL=${SONIC_BASE_URL}&target=target%2Fdebs%2Fbookworm%2Ffrr-pythontools_10.0.1-sonic-0_all.deb | ||
|
|
||
| FROM docker.io/library/busybox:stable AS download | ||
|
|
||
| ARG SONIC_IMG_URL | ||
| ARG FRR_RELOAD_URL | ||
|
|
||
| ADD "${SONIC_IMG_URL}" /sonic-vs.img.gz | ||
| ADD "${FRR_RELOAD_URL}" /frr-pythontools.deb | ||
|
|
||
| RUN gunzip /sonic-vs.img.gz | ||
|
|
||
| FROM scratch | ||
|
|
||
| ARG SONIC_IMG_URL | ||
| ARG FRR_RELOAD_URL | ||
|
|
||
| LABEL sonic-img-url=${SONIC_IMG_URL} \ | ||
| frr-reload-url=${FRR_RELOAD_URL} | ||
|
|
||
| COPY --from=download /frr-pythontools.deb /frr-pythontools.deb | ||
| COPY --from=download /sonic-vs.img /sonic-vs.img |
Uh oh!
There was an error while loading. Please reload this page.