Skip to content

Commit

Permalink
chore(packer) - upgrade packer binary to 1.3.2 (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
jingsfdc authored and ezimanyi committed Aug 13, 2019
1 parent 8e34d36 commit 36810ea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ RUN GRADLE_USER_HOME=cache ./gradlew buildDeb -x test && \
dpkg -i ./rosco-web/build/distributions/*.deb && \
mkdir /packer && \
cd /packer && \
wget https://releases.hashicorp.com/packer/1.3.1/packer_1.3.1_linux_amd64.zip && \
wget https://releases.hashicorp.com/packer/1.3.2/packer_1.3.2_linux_amd64.zip && \
apt-get install unzip -y && \
unzip packer_1.3.1_linux_amd64.zip && \
unzip packer_1.3.2_linux_amd64.zip && \
rm -rf /workdir

RUN wget https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get && \
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.slim
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ COPY ./rosco-web/config/packer /opt/rosco/config/packer
WORKDIR /packer

RUN apk --no-cache add --update bash wget curl openssl && \
wget https://releases.hashicorp.com/packer/1.3.1/packer_1.3.1_linux_amd64.zip && \
unzip packer_1.3.1_linux_amd64.zip && \
rm packer_1.3.1_linux_amd64.zip
wget https://releases.hashicorp.com/packer/1.3.2/packer_1.3.2_linux_amd64.zip && \
unzip packer_1.3.2_linux_amd64.zip && \
rm packer_1.3.2_linux_amd64.zip

ENV PATH "/packer:$PATH"

Expand Down
2 changes: 1 addition & 1 deletion rosco-web/pkg_scripts/postInstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [ -z `getent passwd spinnaker` ]; then
fi

install_packer() {
PACKER_VERSION="1.3.1"
PACKER_VERSION="1.3.2"
local packer_version=$(/usr/bin/packer --version)
local packer_status=$?
if [ $packer_status -ne 0 ] || [ "$packer_version" != "$PACKER_VERSION" ]; then
Expand Down

0 comments on commit 36810ea

Please sign in to comment.