39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
# https://dev1galaxy.org/viewtopic.php?id=551
|
|
#FROM devuan:ascii-slim
|
|
FROM dyne/devuan:beowulf
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
RUN echo 'Acquire::http { Proxy "http://192.168.1.49:3142"; };' > /etc/apt/apt.conf.d/02proxy
|
|
RUN apt-get update && apt-get -y upgrade
|
|
RUN apt-get install -y apt-utils
|
|
RUN apt-get install -y xorriso squashfs-tools live-boot syslinux-common git zsh debootstrap sudo kpartx xz-utils sudo cgpt parted vim curl sed gawk bsdmainutils
|
|
RUN apt-get install -y live-build live-config live-config-sysvinit isolinux grub-efi-amd64-bin grub-common dosfstools
|
|
|
|
RUN git clone https://git.devuan.org/sdk/live-sdk
|
|
|
|
WORKDIR /live-sdk
|
|
|
|
RUN git submodule update --init --recursive --checkout
|
|
|
|
# sub modules might be behind current libdevuansdk git, if you require a more current version of libdevuansdk clone directly:
|
|
#WORKDIR /live-sdk/lib
|
|
#RUN rm -rf libdevuansdk
|
|
#RUN git clone https://git.devuan.org/sdk/libdevuansdk
|
|
|
|
WORKDIR /live-sdk
|
|
|
|
SHELL ["/bin/zsh", "-c"]
|
|
|
|
ENV OS devuan
|
|
ENV ARCH amd64
|
|
ENV BLEND_NAME devuan-live
|
|
|
|
RUN echo "#!/usr/bin/env zsh" > build-iso.zsh && \
|
|
echo "source sdk" >> build-iso.zsh && \
|
|
echo "load ${OS} ${ARCH} ${BLEND_NAME}" >> build-iso.zsh && \
|
|
echo "build_iso_dist" >> build-iso.zsh && \
|
|
chmod +x build-iso.zsh
|
|
|
|
#ENTRYPOINT ["/bin/zsh", "-f", "-c", "source sdk"]
|
|
CMD ["build-iso.zsh"]
|