Skip to content

Commit

Permalink
Fix repo reference in az Dockerfile (#1071)
Browse files Browse the repository at this point in the history
  • Loading branch information
mthalman committed Oct 26, 2022
1 parent ed310cb commit 4c6923e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Microsoft.DotNet.ImageBuilder/Dockerfile.az.linux
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
ARG REPO=mcr.microsoft.com/dotnet-buildtools/image-builder
ARG PYTHON_VERSION=3.10
ARG ARCH=amd64

# Azure CLI installer
FROM mcr.microsoft.com/dotnet-buildtools/image-builder:linux-$ARCH AS az-installer
FROM $REPO:linux-$ARCH AS az-installer

ARG PYTHON_VERSION

Expand All @@ -21,7 +22,7 @@ RUN pip install azure-cli


# build final image
FROM mcr.microsoft.com/dotnet-buildtools/image-builder:linux-$ARCH
FROM $REPO:linux-$ARCH

ARG PYTHON_VERSION
RUN apk add python3~=$PYTHON_VERSION
Expand Down
3 changes: 3 additions & 0 deletions src/Microsoft.DotNet.ImageBuilder/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"registry": "mcr.microsoft.com",
"repos": [
{
"id": "image-builder",
"name": "dotnet-buildtools/image-builder",
"images": [
{
Expand Down Expand Up @@ -86,6 +87,7 @@
"platforms": [
{
"buildArgs": {
"REPO": "$(Repo:image-builder)",
"RID_ARCH": "x64",
"ARCH": "amd64",
"ALPINE_TAG_SUFFIX": ""
Expand All @@ -100,6 +102,7 @@
},
{
"buildArgs": {
"REPO": "$(Repo:image-builder)",
"RID_ARCH": "arm64",
"ARCH": "arm64",
"ALPINE_TAG_SUFFIX": "-arm64v8"
Expand Down

0 comments on commit 4c6923e

Please sign in to comment.