-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docker-images] Add images for 'current' flavour
Signed-off-by: Eugenio Paolantonio (g7) <[email protected]>
- Loading branch information
Showing
10 changed files
with
108 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
ARG ARCH= | ||
FROM scratch | ||
ADD base-amd64-current.tar / | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV DEBCONF_NOWARNINGS yes | ||
ENV DEBIAN_PRIORITY critical | ||
|
||
# Copy relevant repositories and keyrings | ||
# Note: .dummy files used to keep the directory hierarchy in git are | ||
# copied too, see moby/moby#26332 | ||
COPY repositories/current/all/* /etc/apt/sources.list.d/ | ||
COPY repositories/current/amd64/* /etc/apt/sources.list.d/ | ||
|
||
# Copy apt preferences | ||
COPY preferences/current/* /etc/apt/preferences.d/ | ||
|
||
COPY keyrings/all/* /etc/apt/droidian-gpg.d/ | ||
COPY keyrings/amd64/* /etc/apt/droidian-gpg.d/ | ||
|
||
COPY common/apt.conf.d/* /etc/apt/apt.conf.d/ | ||
|
||
# Special handling for i386 packages | ||
RUN \ | ||
if [ "amd64" = "amd64" ]; then \ | ||
ln -s /usr/share/droidian-release/buildd_support.list /etc/apt/sources.list.d/buildd_support.list; \ | ||
dpkg --add-architecture i386; \ | ||
fi | ||
|
||
# Add secondary architectures | ||
RUN \ | ||
dpkg --add-architecture arm64 && \ | ||
dpkg --add-architecture armhf && \ | ||
apt-get update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
ARG ARCH= | ||
FROM scratch | ||
ADD base-arm64-current.tar / | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV DEBCONF_NOWARNINGS yes | ||
ENV DEBIAN_PRIORITY critical | ||
|
||
# Copy relevant repositories and keyrings | ||
# Note: .dummy files used to keep the directory hierarchy in git are | ||
# copied too, see moby/moby#26332 | ||
COPY repositories/current/all/* /etc/apt/sources.list.d/ | ||
COPY repositories/current/arm64/* /etc/apt/sources.list.d/ | ||
|
||
# Copy apt preferences | ||
COPY preferences/current/* /etc/apt/preferences.d/ | ||
|
||
COPY keyrings/all/* /etc/apt/droidian-gpg.d/ | ||
COPY keyrings/arm64/* /etc/apt/droidian-gpg.d/ | ||
|
||
COPY common/apt.conf.d/* /etc/apt/apt.conf.d/ | ||
|
||
# Special handling for i386 packages | ||
RUN \ | ||
if [ "arm64" = "amd64" ]; then \ | ||
ln -s /usr/share/droidian-release/buildd_support.list /etc/apt/sources.list.d/buildd_support.list; \ | ||
dpkg --add-architecture i386; \ | ||
fi | ||
|
||
# Add secondary architectures | ||
RUN \ | ||
dpkg --add-architecture arm64 && \ | ||
dpkg --add-architecture armhf && \ | ||
apt-get update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
ARG ARCH= | ||
FROM scratch | ||
ADD base-armhf-current.tar / | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV DEBCONF_NOWARNINGS yes | ||
ENV DEBIAN_PRIORITY critical | ||
|
||
# Copy relevant repositories and keyrings | ||
# Note: .dummy files used to keep the directory hierarchy in git are | ||
# copied too, see moby/moby#26332 | ||
COPY repositories/current/all/* /etc/apt/sources.list.d/ | ||
COPY repositories/current/armhf/* /etc/apt/sources.list.d/ | ||
|
||
# Copy apt preferences | ||
COPY preferences/current/* /etc/apt/preferences.d/ | ||
|
||
COPY keyrings/all/* /etc/apt/droidian-gpg.d/ | ||
COPY keyrings/armhf/* /etc/apt/droidian-gpg.d/ | ||
|
||
COPY common/apt.conf.d/* /etc/apt/apt.conf.d/ | ||
|
||
# Special handling for i386 packages | ||
RUN \ | ||
if [ "armhf" = "amd64" ]; then \ | ||
ln -s /usr/share/droidian-release/buildd_support.list /etc/apt/sources.list.d/buildd_support.list; \ | ||
dpkg --add-architecture i386; \ | ||
fi | ||
|
||
# Add secondary architectures | ||
RUN \ | ||
dpkg --add-architecture arm64 && \ | ||
dpkg --add-architecture armhf && \ | ||
apt-get update |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Always prefer packages coming from Droidian snapshots | ||
Package: * | ||
Pin: release o=Debian | ||
Pin-Priority: 100 | ||
|
Empty file.
Empty file.
Empty file.
Empty file.