Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 5ec50dc

Browse files
authored
Add support for arm architecture for MacOS on M1 (#1124)
1 parent 83e01d9 commit 5ec50dc

File tree

1 file changed

+1
-1
lines changed
  • containers/docker-from-docker-compose

1 file changed

+1
-1
lines changed

containers/docker-from-docker-compose/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ You can adapt your own existing development container Dockerfile to support this
5151
RUN apt-get update \
5252
&& apt-get install -y apt-transport-https ca-certificates curl gnupg2 lsb-release \
5353
&& curl -fsSL https://download.docker.com/linux/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/gpg | apt-key add - 2>/dev/null \
54-
&& echo "deb [arch=amd64] https://download.docker.com/linux/$(lsb_release -is | tr '[:upper:]' '[:lower:]') $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list \
54+
&& echo "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(lsb_release -is | tr '[:upper:]' '[:lower:]') $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list \
5555
&& apt-get update \
5656
&& apt-get install -y docker-ce-cli
5757

0 commit comments

Comments
 (0)