Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
yuval-k committed Jan 30, 2020
1 parent 0138f6b commit b9b6bb0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ ENV PACKER_VERSION 1.5.2

RUN wget https://github.com/hashicorp/packer/releases/download/nightly/packer_linux_amd64.zip -O /tmp/packer.zip && \
unzip /tmp/packer.zip -d /bin && \
mv /bin/pkg/packer_linux_amd64 /bin/packer && \
rm /tmp/packer.zip
WORKDIR /build
COPY entrypoint.sh /entrypoint.sh
Expand Down
4 changes: 0 additions & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

PACKER=/bin/packer

if [ ! -f $PACKER ]; then
# edge case: we use latest release from github
PACKER=/bin/pkg/packer_linux_amd64
fi
echo running $PACKER

exec $PACKER "${@}"

0 comments on commit b9b6bb0

Please sign in to comment.