Skip to content

Commit

Permalink
Add Ubuntu 20.04 arm64 support (#1056)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSimons committed May 15, 2024
1 parent 0120d1d commit 0b9f68c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ RUN apt-get update \
# .NET SDK MSBuild requires US.UTF-8 locale to execute tasks
RUN locale-gen en_US.UTF-8

# Install Azure CLI
RUN curl -L -o azure-cli_focal_all.deb https://aka.ms/InstallAzureCliFocalEdge \
&& dpkg -i azure-cli_focal_all.deb
# Install Azure CLI - https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt#option-1-install-with-one-command
RUN curl -sL https://aka.ms/InstallAzureCLIDeb | bash \
# Install script does apt-get update and install, so we need to clean up after it.
&& rm -rf /var/lib/apt/lists/*

# Runtime dependencies
RUN apt-get update \
Expand Down
17 changes: 16 additions & 1 deletion src/ubuntu/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
{
"platforms": [
{
"dockerfile": "src/ubuntu/20.04/amd64",
"dockerfile": "src/ubuntu/20.04",
"os": "linux",
"osVersion": "focal",
"tags": {
Expand All @@ -109,6 +109,21 @@
}
]
},
{
"platforms": [
{
"architecture": "arm64",
"dockerfile": "src/ubuntu/20.04",
"os": "linux",
"osVersion": "focal",
"tags": {
"ubuntu-20.04-arm64-$(System:TimeStamp)-$(System:DockerfileGitCommitSha)": {},
"ubuntu-20.04-arm64$(FloatingTagSuffix)": {}
},
"variant": "v8"
}
]
},
{
"platforms": [
{
Expand Down

0 comments on commit 0b9f68c

Please sign in to comment.