Skip to content

Commit

Permalink
Install aws-assumed-role with curl (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman authored Nov 9, 2017
1 parent e66982d commit 8b5b95b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@ ENV GOMPLATE_VERSION 2.2.0
RUN curl --fail -sSL -o /usr/local/bin/gomplate https://github.com/hairyhenderson/gomplate/releases/download/v${GOMPLATE_VERSION}/gomplate_linux-amd64-slim \
&& chmod +x /usr/local/bin/gomplate

# Install AWS Assumed Role
ENV AWS_ASSUMED_ROLE_VERSION 0.1.0
RUN mkdir -p /etc/profile.d \
&& curl --fail -sSL -o /etc/profile.d/aws-assume-role.sh https://raw.githubusercontent.com/cloudposse/aws-assumed-role/0.1.0/profile \
&& chmod +x /etc/profile.d/aws-assume-role.sh

ENV BOOTSTRAP=true

# Where to store state
Expand All @@ -142,7 +148,6 @@ ENV HOME=/mnt/local

VOLUME ["/mnt/local"]

ADD aws-assumed-role/profile /etc/profile.d/aws-assume-role.sh
ADD rootfs/ /

WORKDIR /mnt/local
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ lint:
@make bash:lint

deps:
@make --no-print-directory git:submodules-update
@exit 0

build:
@make --no-print-directory docker:build
Expand Down
1 change: 0 additions & 1 deletion aws-assumed-role
Submodule aws-assumed-role deleted from d9cec8

0 comments on commit 8b5b95b

Please sign in to comment.