packer/Dockerfile: use absolute paths

This commit is contained in:
Kyle Isom 2023-04-11 15:31:53 -07:00
parent 798c634aa6
commit 2932f593a0
1 changed files with 3 additions and 3 deletions

View File

@ -6,10 +6,10 @@ 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
ADD . /packer
WORKDIR /packer
VOLUME build
RUN ./install-packer.sh
WORKDIR build/packer-builder-arm
WORKDIR /packer/build/packer-builder-arm
ENTRYPOINT ["/usr/bin/env", "bash"]