source: ogLive-Builder-Git/Dockerfile @ 6b66424

deps-vadimfilebeat-installerimprove-versionlgromero-testsmainpull-from-cloning-engine
Last change on this file since 6b66424 was 6b66424, checked in by Natalia Serrano <natalia.serrano@…>, 6 months ago

refs #809 collaborate with the jenkins job

  • Property mode set to 100644
File size: 1.1 KB
Line 
1FROM ubuntu:noble
2
3RUN apt-get update && apt-get -y install \
4  debootstrap \
5  fdisk \
6  file \
7  genisoimage \
8  git \
9  ipxe \
10  jq \
11  lsof \
12  python3 \
13  python3-apt \
14  qemu-utils \
15  rsync \
16  schroot \
17  squashfs-tools \
18  subversion \
19  syslinux \
20  syslinux-efi \
21  syslinux-utils \
22  && rm -rf /var/lib/apt/lists/*
23
24RUN groupadd opengnsys
25RUN mkdir -p /opt/opengnsys/client /tmp/opengnsys/oglive_builder /var/lib/tftpboot/
26RUN ln -fs /var/lib/tftpboot /opt/opengnsys
27
28ARG OPENGNSYS_HEAD
29
30COPY ./og_client_engine /tmp/opengnsys/engine
31COPY ./og_client_shared /tmp/opengnsys/shared
32COPY ./gitrelease       /tmp/opengnsys/
33COPY *.deb boottools includes chroot-tasks.py mkoglive.cfg mkoglive.py mount-defaults schroot.conf /tmp/opengnsys/oglive_builder/
34
35RUN ls -la /tmp/opengnsys/ /tmp/opengnsys/engine/ /tmp/opengnsys/shared/ /tmp/opengnsys/oglive_builder/ && \
36    cp /tmp/opengnsys/oglive_builder/schroot.conf /tmp/opengnsys/oglive_builder/mount-defaults /etc/schroot/ && \
37    echo '' >/etc/schroot/default/nssdatabases && \
38    rm -f /etc/schroot/setup.d/*chrootname
39
40ENTRYPOINT ["/tmp/opengnsys/oglive_builder/mkoglive.py"]
Note: See TracBrowser for help on using the repository browser.