summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: bc917e71676f2f658d761a3a30509daa11c263db (plain)
1
2
3
4
5
6
7
8
9
10
FROM debian:jessie
RUN apt-get update && apt-get upgrade --no-install-recommends -y
RUN apt-get install -y --no-install-recommends \
    openssl ca-certificates ssh parted sudo net-tools ifupdown python python-pyasn1 python-rpm
COPY waagent /usr/sbin/
COPY config/docker-waagent.conf /etc/waagent.conf
RUN chmod +x /usr/sbin/waagent && \
    rm -rf /etc/skel && \
    ln -sf /dev/stdout /var/log/waagent.log
ENTRYPOINT ["/usr/sbin/waagent"]