Skip to content

Commit

Permalink
fix(rosco): Update packer version in rosco (#450)
Browse files Browse the repository at this point in the history
* Update postInstall.sh

* Updating packer version in Dockerfile

* Update Dockerfile.ubuntu
  • Loading branch information
karthiksadhasivam authored and asher committed Oct 18, 2019
1 parent 0afbb05 commit e853428
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.slim
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ COPY --from=compile /compiled_sources/rosco-web/config/packer /opt/rosco/c
WORKDIR /packer

RUN apk --no-cache add --update bash wget curl openssl && \
wget https://releases.hashicorp.com/packer/1.4.2/packer_1.4.2_linux_amd64.zip && \
unzip packer_1.4.2_linux_amd64.zip && \
rm packer_1.4.2_linux_amd64.zip
wget https://releases.hashicorp.com/packer/1.4.2/packer_1.4.4_linux_amd64.zip && \
unzip packer_1.4.4_linux_amd64.zip && \
rm packer_1.4.4_linux_amd64.zip

ENV PATH "/packer:$PATH"

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ COPY --from=compile /compiled_sources/rosco-web/config/packer /opt/rosco/c
WORKDIR /packer

RUN apt-get update && apt-get -y install openjdk-8-jre-headless wget unzip curl && \
wget https://releases.hashicorp.com/packer/1.4.2/packer_1.4.2_linux_amd64.zip && \
unzip packer_1.4.2_linux_amd64.zip && \
rm packer_1.4.2_linux_amd64.zip
wget https://releases.hashicorp.com/packer/1.4.4/packer_1.4.4_linux_amd64.zip && \
unzip packer_1.4.4_linux_amd64.zip && \
rm packer_1.4.4_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.4.2"
PACKER_VERSION="1.4.4"
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 e853428

Please sign in to comment.