1
0
mirror of https://github.com/rlister/dockerfiles.git synced 2025-12-12 17:26:15 +00:00

add initial dockerfile for amazon-ssm-agent

This commit is contained in:
Richard Lister
2015-12-16 09:25:24 -05:00
parent 8abb0135c9
commit 1a0859fae4
2 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
FROM debian:jessie
MAINTAINER Ric Lister <rlister@gmail.com>
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive \
apt-get install -yq \
curl
ENV AGENT_URL https://amazon-ssm-us-east-1.s3.amazonaws.com/latest/debian_amd64/amazon-ssm-agent.deb
RUN curl ${AGENT_URL} -o amazon-ssm-agent.deb && \
dpkg -i amazon-ssm-agent.deb && \
rm -f amazon-ssm-agent.deb
WORKDIR /opt/amazon/ssm/
CMD ["./amazon-ssm-agent"]

View File

@@ -0,0 +1,7 @@
# amazon-ssm-agent
This is a simple installation on debian of the
[AWS EC2 Run Command agent](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/execute-remote-commands.html).
Running this container on an ec2 instance with correct IAM permissions
will allow the running of commands _inside the container_.