Files
netboot.xyz/Dockerfile-build
T
Antony Messerli 214e34961f Latest tuning, including utility menu generation
Creates proper ansible role structure
Creates utilities listing and allows for utility menu overrides
Splits utilities into efi and pcbios (legacy) so options
are hidden if they can't be used.
Add package list for debian
Split Ubuntu Live version loaders into seperate methods as versions
can behave differently.
2019-11-17 19:49:25 +00:00

32 lines
511 B
Plaintext

FROM ubuntu:bionic as builder
RUN \
echo "**** install deps ****" && \
apt-get update && \
apt-get install -y \
ansible \
apache2 \
build-essential \
genisoimage \
git \
liblzma-dev \
python-minimal \
python-yaml \
syslinux
# repo for build
COPY . /ansible
RUN \
echo "**** running ansible ****" && \
cd /ansible && \
ansible-playbook -i inventory/all site.yml
# runtime stage
FROM alpine:3.10
COPY --from=builder /var/www/html/ /mnt/
COPY docker-build-root/ /
ENTRYPOINT [ "/dumper.sh" ]