Skip to content

Commit

Permalink
images/bootstrap: added arm64 support
Browse files Browse the repository at this point in the history
  • Loading branch information
morlay committed Jul 28, 2021
1 parent 79c8eab commit 220d20b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion images/bootstrap/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
rm -rf /var/lib/apt/lists/*

# Add the Docker apt-repository
ARG TARGETARCH
RUN curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg \
| apt-key add - && \
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \
"deb [arch=${TARGETARCH:-amd64}] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \
$(lsb_release -cs) stable"

# Install Docker
Expand Down

0 comments on commit 220d20b

Please sign in to comment.