Skip to content

Commit

Permalink
Fix dockerfile formatting and add python-six package to ssm-session (#12
Browse files Browse the repository at this point in the history
)
  • Loading branch information
rothgar authored Mar 28, 2020
1 parent 44e63a3 commit a486c34
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions Dockerfile.ssm-session
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit a486c34

Please sign in to comment.