bladerunner/packer/Dockerfile

16 lines
409 B
Docker

# Set up a packer image in Docker.
FROM ubuntu:22.04
LABEL org.opencontainers.image.authors=kyle@imap.cc
RUN apt-get update && apt-get -y install git curl sudo xz-utils
RUN git clone https://git.wntrmute.dev/kyle/bladerunner
RUN bladerunner/tools/install-go.sh
ADD . /packer
WORKDIR /packer
VOLUME build
RUN ./install-packer.sh
WORKDIR /packer/build/packer-builder-arm
ENTRYPOINT ["/usr/bin/env", "bash"]