bladerunner/packer/Dockerfile

16 lines
409 B
Docker
Raw Permalink Normal View History

2023-04-10 01:31:44 +00:00
# Set up a packer image in Docker.
FROM ubuntu:22.04
2023-04-10 03:05:28 +00:00
LABEL org.opencontainers.image.authors=kyle@imap.cc
2023-04-10 01:31:44 +00:00
RUN apt-get update && apt-get -y install git curl sudo xz-utils
2023-04-10 04:19:33 +00:00
RUN git clone https://git.wntrmute.dev/kyle/bladerunner
RUN bladerunner/tools/install-go.sh
2023-04-10 03:05:28 +00:00
2023-04-11 22:31:53 +00:00
ADD . /packer
WORKDIR /packer
VOLUME build
RUN ./install-packer.sh
2023-04-11 22:31:53 +00:00
WORKDIR /packer/build/packer-builder-arm
2023-04-10 01:31:44 +00:00
ENTRYPOINT ["/usr/bin/env", "bash"]