Skip to content

Commit

Permalink
Merge pull request #3 from globis-org/add/screen
Browse files Browse the repository at this point in the history
Add screen for SSM session manager activity log
  • Loading branch information
chroju authored Jul 16, 2020
2 parents 456560a + c5b9762 commit 9365c63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions amazonlinux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM amazonlinux:2
LABEL maintainer "GLOBIS"

RUN yum update -y && \
yum install -y systemd procps curl tar zip unzip sudo mariadb vim && \
yum install -y systemd procps curl tar zip unzip sudo mariadb vim screen less iputils && \
# ssm-agent
yum install -y https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm && \
# AWS CLI
Expand All @@ -13,7 +13,9 @@ RUN yum update -y && \
rm -r awscliv2.zip ./aws && \
# jq
curl https://stedolan.github.io/jq/download/linux64/jq > /usr/bin/jq && \
chmod +x /usr/bin/jq
chmod +x /usr/bin/jq && \
# redis
amazon-linux-extras install redis4.0

COPY ssm-agent.sh /usr/local/bin/ssm-agent.sh
RUN chmod +x /usr/local/bin/ssm-agent.sh
Expand Down
2 changes: 1 addition & 1 deletion debian-buster-slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN mkdir /tmp/ssm
WORKDIR /tmp/ssm

RUN apt-get update && \
apt-get install -y --no-install-recommends procps curl wget tar zip unzip sudo mariadb-client vim && \
apt-get install -y --no-install-recommends procps curl wget tar zip unzip sudo mariadb-client vim screen less iputils-ping redis-tools && \
# AWS CLI v2
wget https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -O awscliv2.zip --no-check-certificate && \
unzip awscliv2.zip && \
Expand Down

0 comments on commit 9365c63

Please sign in to comment.