You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bionic-arm64/Dockerfile
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,6 @@ FROM ${REPO}:${TAG}
4
4
5
5
ARG DEBIAN_FRONTEND=noninteractive
6
6
7
-
# Latest stable git
8
-
RUN add-apt-repository ppa:git-core/ppa -y
9
-
10
7
# ubuntu keeps its i386/amd64 and other architecture repos separate
11
8
# the default i386/amd64 packages can be found in http://archive.ubuntu.com while all other architectures are in http://ports.ubuntu.com/
12
9
# add the required repos for armhf/arm64 and only fetch i386/amd64 from archive.ubuntu.com (to prevent apt from erroring about missing architecture support)
@@ -15,6 +12,11 @@ RUN echo "deb [arch=arm64,armhf] http://ports.ubuntu.com/ bionic main universe m
15
12
RUN echo "deb [arch=arm64,armhf] http://ports.ubuntu.com/ bionic-security main universe multiverse restricted" | tee -a /etc/apt/sources.list
16
13
RUN echo "deb [arch=arm64,armhf] http://ports.ubuntu.com/ bionic-updates main universe multiverse restricted" | tee -a /etc/apt/sources.list
17
14
RUN dpkg --add-architecture arm64
15
+
16
+
# Latest stable git
17
+
RUN apt-get update && apt-get install -y software-properties-common
18
+
RUN add-apt-repository ppa:git-core/ppa -y
19
+
18
20
RUN apt-get update && apt-get install -y --no-install-recommends \
Copy file name to clipboardExpand all lines: bionic-armhf/Dockerfile
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,6 @@ FROM ${REPO}:${TAG}
4
4
5
5
ARG DEBIAN_FRONTEND=noninteractive
6
6
7
-
# Latest stable git
8
-
RUN add-apt-repository ppa:git-core/ppa -y
9
-
10
7
# ubuntu keeps its i386/amd64 and other architecture repos separate
11
8
# the default i386/amd64 packages can be found in http://archive.ubuntu.com while all other architectures are in http://ports.ubuntu.com/
12
9
# add the required repos for armhf/arm64 and only fetch i386/amd64 from archive.ubuntu.com (to prevent apt from erroring about missing architecture support)
@@ -15,6 +12,11 @@ RUN echo "deb [arch=arm64,armhf] http://ports.ubuntu.com/ bionic main universe m
15
12
RUN echo "deb [arch=arm64,armhf] http://ports.ubuntu.com/ bionic-security main universe multiverse restricted" | tee -a /etc/apt/sources.list
16
13
RUN echo "deb [arch=arm64,armhf] http://ports.ubuntu.com/ bionic-updates main universe multiverse restricted" | tee -a /etc/apt/sources.list
17
14
RUN dpkg --add-architecture armhf
15
+
16
+
# Latest stable git
17
+
RUN apt-get update && apt-get install -y software-properties-common
18
+
RUN add-apt-repository ppa:git-core/ppa -y
19
+
18
20
RUN apt-get update && apt-get install -y --no-install-recommends \
0 commit comments