mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-10-05 21:26:42 -04:00
* Shifting after_deploy messages and aws invalidation to proper locations * Add cert checkout to preinstall and setting those on s3 deploys only * Adding production docker file which runs netboot.xyz overrides * Only display sig menus if enabled * Fix var names for signing
33 lines
569 B
Plaintext
33 lines
569 B
Plaintext
FROM ubuntu:bionic as builder
|
|
|
|
RUN \
|
|
echo "**** install deps ****" && \
|
|
apt-get update && \
|
|
apt-get install -y \
|
|
ansible \
|
|
apache2 \
|
|
build-essential \
|
|
dosfstools \
|
|
genisoimage \
|
|
git \
|
|
liblzma-dev \
|
|
python-minimal \
|
|
python-yaml \
|
|
syslinux
|
|
|
|
# repo for build
|
|
COPY . /ansible
|
|
|
|
RUN \
|
|
echo "**** running ansible ****" && \
|
|
cd /ansible && \
|
|
ansible-playbook -i inventory site.yml --extra-vars "@script/netbootxyz-overrides.yml"
|
|
|
|
# runtime stage
|
|
FROM alpine:3.10
|
|
|
|
COPY --from=builder /var/www/html/ /mnt/
|
|
COPY docker-build-root/ /
|
|
|
|
ENTRYPOINT [ "/dumper.sh" ]
|