mirror of
https://github.com/rlister/dockerfiles.git
synced 2025-12-13 09:46:19 +00:00
add initial dockerfile for amazon-ssm-agent
This commit is contained in:
17
amazon-ssm-agent/Dockerfile
Normal file
17
amazon-ssm-agent/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user