Files
netboot.xyz/Dockerfile-build.production
T
Antony Messerli f628157e43 Fixing signatures and add certs to loaders
* 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
2019-12-15 22:02:19 +00:00

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" ]