close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
add_torrent_clientbrowserdbusdeps-vadimeuro-localefilebeatfilebeat-homefilebeat-installerfix_video_2fix_video_problemimprove-versioninittab-preinit-pyinstall-gitliblgromero-testsmainoggitoginit-logogrepo-ssh-keypcp-dstatpcp-dstat2pull-from-cloning-enginepy-seturlresolvconfstunnelulimit-n-4096xinitrc-dbusxinitrc-dbus2
|
Last change
on this file since dffb315 was
dffb315,
checked in by Natalia Serrano <natalia.serrano@…>, 12 months ago
|
|
refs #809 try to invalidate docker cache at a specific point
|
-
Property mode set to
100644
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | FROM ubuntu:noble |
|---|
| 2 | |
|---|
| 3 | RUN 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 | |
|---|
| 24 | RUN groupadd opengnsys |
|---|
| 25 | RUN mkdir -p /opt/opengnsys/client /tmp/opengnsys/oglive_builder /var/lib/tftpboot/ |
|---|
| 26 | RUN ln -fs /var/lib/tftpboot /opt/opengnsys |
|---|
| 27 | |
|---|
| 28 | ## take stuff from the OG repo: a) cloning engine, b) shared stuff and c) gitrelease |
|---|
| 29 | RUN git --git-dir ./opengnsys/.git rev-parse HEAD && \ |
|---|
| 30 | mv ./opengnsys/client/engine ./opengnsys/client/shared /tmp/opengnsys/ && \ |
|---|
| 31 | git --git-dir ./opengnsys/.git log --date format:r%Y%m%d --format=%ad -1 >/tmp/opengnsys/oglive_builder/gitrelease |
|---|
| 32 | |
|---|
| 33 | ## if we place the ogagent.deb and the ogbrowser.deb in the cwd, then this 'COPY .' copies them to the image |
|---|
| 34 | COPY . /tmp/opengnsys/oglive_builder/ |
|---|
| 35 | RUN cp /tmp/opengnsys/oglive_builder/schroot.conf /tmp/opengnsys/oglive_builder/mount-defaults /etc/schroot/ && \ |
|---|
| 36 | echo '' >/etc/schroot/default/nssdatabases && \ |
|---|
| 37 | rm -f /etc/schroot/setup.d/*chrootname |
|---|
| 38 | |
|---|
| 39 | ENTRYPOINT ["/tmp/opengnsys/oglive_builder/mkoglive.py"] |
|---|
Note: See
TracBrowser
for help on using the repository browser.