source: ogLive-Builder-Git/Dockerfile @ 2ee36ca

browserbuild-browserdeps-vadimfilebeat-installerimprove-versionlgromero-testsmainno-apt-moduleoglive-ipv6pull-from-cloning-enginepybuilder
Last change on this file since 2ee36ca was 0ab0e61, checked in by Natalia Serrano <natalia.serrano@…>, 8 months ago

refs #597 translate and clean up comments

  • Property mode set to 100644
File size: 1.3 KB
Line 
1FROM ubuntu:noble
2
3ARG OPENGNSYS_BRANCH=main
4
5RUN apt-get update && apt-get -y install \
6  debootstrap \
7  fdisk \
8  file \
9  genisoimage \
10  git \
11  ipxe \
12  jq \
13  lsof \
14  python3 \
15  python3-apt \
16  qemu-utils \
17  rsync \
18  schroot \
19  squashfs-tools \
20  subversion \
21  syslinux \
22  syslinux-efi \
23  syslinux-utils \
24  && rm -rf /var/lib/apt/lists/*
25
26RUN groupadd opengnsys
27RUN mkdir -p /opt/opengnsys/client /tmp/opengnsys/oglive_builder /var/lib/tftpboot/
28RUN ln -fs /var/lib/tftpboot /opt/opengnsys
29
30## take stuff from the OG repo: a) cloning engine, b) shared stuff and c) gitrelease
31RUN git clone -c http.sslVerify=false --branch ${OPENGNSYS_BRANCH} https://ognproject.evlt.uma.es/gitea/opengnsys/opengnsys.git /tmp/ogrepo && \
32    mv /tmp/ogrepo/client/engine /tmp/ogrepo/client/shared /tmp/opengnsys/ && \
33    git --git-dir /tmp/ogrepo/.git log --date format:r%Y%m%d --format=%ad -1 >/tmp/opengnsys/oglive_builder/gitrelease && \
34    rm -rf /tmp/ogrepo/
35
36#RUN echo 0     ## development: invalidate docker cache at this point, so that the 'COPY' below actually copies files
37COPY . /tmp/opengnsys/oglive_builder/
38RUN cp /tmp/opengnsys/oglive_builder/schroot.conf /tmp/opengnsys/oglive_builder/mount-defaults /etc/schroot/ && echo '' >/etc/schroot/default/nssdatabases && 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.