Skip to content

Commit

Permalink
Fix docker install for arm32
Browse files Browse the repository at this point in the history
  • Loading branch information
winromulus committed Jan 12, 2020
1 parent 4bdc68e commit eee4196
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,22 +49,23 @@ stages:
- Agent.OSArchitecture -equals ARM
steps:

- script: |
apt-get update
apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io
displayName: 'Install docker'
- script: |
apt-get update
apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository \
"deb [arch=armhf] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io
displayName: 'Install docker'

- task: Docker@2
displayName: 'Build arm32 image'
Expand Down

0 comments on commit eee4196

Please sign in to comment.