Skip to content

demo42/baseimage-dotnet-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buffering Base Images

Import Staging Image

build/push w/Docker

oras push localhost:5000/hello-artifact:v2 \
  --manifest-config config.json:application/vnd.acme.rocket.config.v1+json \
  artifact.txt:application/vnd.acme.rocket.config.v1+json \
  readme.md:application/vnd.acme.rocket.docs.layer.v1+json
$Env:REGISTRY_NAME="demo42.azurecr.io"
docker build -t $Env:REGISTRY_NAME/baseimages/microsoft/dotnet/sdk:linux-2.1  .
docker push $Env:REGISTRY_NAME/baseimages/microsoft/dotnet/sdk:linux-2.1
REGISTRY_NAME=demo42.azurecr.io
docker build -t ${REGISTRY_NAME}baseimages/microsoft/dotnet/sdk:linux-2.1  .

build/push with ACR Build

Manual Run

az acr build -t baseimages/microsoft/dotnet/sdk:linux-2.1  .

Maintained as a Task

az acr task create \
  -n baseimage-dotnet-sdk \
  --context https://github.com/demo42/baseimage-dotnet-sdk.git \
  -t baseimages/microsoft/dotnet/sdk:2.1 \
  -f Dockerfile \
  --git-access-token $(az keyvault secret show \
                         --vault-name $AKV_NAME \
                         --name $GIT_TOKEN_NAME \
                         --query value -o tsv) \
  --registry $ACR_NAME 

Manually trigger the task, as triggers are intentionally disabled

az acr task run -n baseimage-dotnet-sdk

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors