Skip to content

Commit a5c3190

Browse files
committed
ensure compat
1 parent 6ca3651 commit a5c3190

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

images/base/ubuntu.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ RUN apt-get update && \
3939
wget \
4040
rsync
4141

42+
# Compat: on non-armv7 architectures, install `software-properties-common`
43+
RUN [[ "$(dpkg --print-architecture)" != "armhf" ]] && apt-get install --yes software-properties-common || echo "WARN: Skipping software-properties-common installation on armhf"
44+
4245
# Install latest Git using their official PPA
4346
# Note: due to a dependency issue with the armv7 `software-properties-common` package,
4447
# we can't use `add-apt-repository` here. Instead, we'll add the Git PPA

0 commit comments

Comments
 (0)