|
|
|
@ -1,7 +1,13 @@ |
|
|
|
FROM homebrew/brew |
|
|
|
FROM homebrew/brew |
|
|
|
|
|
|
|
|
|
|
|
RUN brew install aws-vault && brew install awscli |
|
|
|
RUN brew install aws-vault && brew install awscli |
|
|
|
RUN curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_64bit/session-manager-plugin.deb" -o "session-manager-plugin.deb" && sudo dpkg -i session-manager-plugin.deb |
|
|
|
RUN if [ "$(dpkg --print-architecture)" = "arm64" ]; then \ |
|
|
|
|
|
|
|
ARCH="ubuntu_arm64"; \ |
|
|
|
|
|
|
|
else \ |
|
|
|
|
|
|
|
ARCH="ubuntu_64bit"; \ |
|
|
|
|
|
|
|
fi && \ |
|
|
|
|
|
|
|
curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/${ARCH}/session-manager-plugin.deb" -o "session-manager-plugin.deb" && \ |
|
|
|
|
|
|
|
sudo dpkg -i session-manager-plugin.deb |
|
|
|
|
|
|
|
|
|
|
|
ENV AWS_VAULT_BACKEND=file |
|
|
|
ENV AWS_VAULT_BACKEND=file |
|
|
|
ENV AWS_VAULT_FILE_DIR=./vault |
|
|
|
ENV AWS_VAULT_FILE_DIR=./vault |
|
|
|
|