From a486c3446f45ae31faaeaf1388bc5b56464535ac Mon Sep 17 00:00:00 2001 From: Justin Garrison Date: Fri, 27 Mar 2020 23:31:39 -0700 Subject: [PATCH] Fix dockerfile formatting and add python-six package to ssm-session (#12) --- Dockerfile.ssm-session | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/Dockerfile.ssm-session b/Dockerfile.ssm-session index 25dba23..850b815 100644 --- a/Dockerfile.ssm-session +++ b/Dockerfile.ssm-session @@ -1,27 +1,28 @@ FROM debian:10-slim as downloader RUN apt update && apt install -y \ - ca-certificates \ - curl \ - python \ - python-pip \ - python-setuptools + ca-certificates \ + curl \ + python \ + python-pip \ + python-setuptools # Extract the session-manager-plugin RUN pip install awscli --upgrade --user \ - && curl -L "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_64bit/session-manager-plugin.deb" -o "session-manager-plugin.deb" \ + && curl -L "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_64bit/session-manager-plugin.deb" -o "session-manager-plugin.deb" \ && dpkg -x session-manager-plugin.deb /tmp FROM debian:10-slim RUN apt update && apt install -y \ - python \ ca-certificates \ jq \ locales \ + python \ + python-six \ tmux \ - && sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \ - && locale-gen + && sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \ + && locale-gen ENV LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8