mirror of
https://github.com/iana-org/coen.git
synced 2026-06-03 21:31:42 +00:00
First public release (v0.4.0)
This commit is contained in:
34
Dockerfile
Normal file
34
Dockerfile
Normal file
@@ -0,0 +1,34 @@
|
||||
FROM debian:9.4-slim@sha256:91e111a5c5314bc443be24cf8c0d59f19ffad6b0ea8ef8f54aedd41b8203e3e1
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
COPY create-iso.sh .
|
||||
COPY variables.sh .
|
||||
COPY SHA256SUMS .
|
||||
COPY tools/ /tools/
|
||||
|
||||
RUN sha256sum -c SHA256SUMS
|
||||
|
||||
RUN . ./variables.sh && \
|
||||
rm -f /etc/apt/sources.list && \
|
||||
echo "deb http://snapshot.debian.org/archive/debian/$(date --date "$DATE" '+%Y%m%dT%H%M%SZ') $DIST main" >> /etc/apt/sources.list && \
|
||||
echo "deb http://snapshot.debian.org/archive/debian/$(date --date "$DATE" '+%Y%m%dT%H%M%SZ') "$DIST"-updates main" >> /etc/apt/sources.list && \
|
||||
echo "deb http://snapshot.debian.org/archive/debian-security/$(date --date "$DATE" '+%Y%m%dT%H%M%SZ') "$DIST"/updates main" >> /etc/apt/sources.list
|
||||
|
||||
RUN apt-get update -o Acquire::Check-Valid-Until=false && \
|
||||
apt-get install -o Acquire::Check-Valid-Until=false --no-install-recommends --yes \
|
||||
liblzo2-2 xorriso debootstrap \
|
||||
locales && \
|
||||
sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g' /etc/locale.gen && \
|
||||
locale-gen en_US.UTF-8
|
||||
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LANGUAGE en_US:en
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
|
||||
RUN dpkg-reconfigure locales
|
||||
|
||||
RUN dpkg -i /tools/squashfs-tools_4.3-3.0tails4_amd64.deb && \
|
||||
dpkg -i /tools/debuerreotype_0.7-1_all.deb
|
||||
|
||||
CMD ["/create-iso.sh"]
|
||||
Reference in New Issue
Block a user