16 lines
399 B
Docker
16 lines
399 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 build/packer-builder-arm
|
|
|
|
ENTRYPOINT ["/usr/bin/env", "bash"]
|