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
|
|
|
|
2023-04-10 22:34:38 +00:00
|
|
|
RUN apt-get update && apt-get -y install git curl sudo
|
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
|
|
|
|
|
|
|
ADD . packer
|
2023-04-10 22:34:38 +00:00
|
|
|
WORKDIR packer
|
|
|
|
RUN ./install-packer.sh
|
2023-04-10 01:31:44 +00:00
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/bin/env", "bash"]
|