-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
20 lines (20 loc) · 927 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM ubuntu:20.04
ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL maintainer="Sumo Logic <[email protected]>"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update --quiet && \
apt-get install -y --no-install-recommends apt-utils && \
apt-get upgrade --quiet --allow-downgrades --allow-remove-essential --allow-change-held-packages -y && \
apt-get install --quiet --allow-downgrades --allow-remove-essential --allow-change-held-packages -y wget && \
wget -q -O /tmp/collector.deb https://stag-events.sumologic.net/rest/download/deb/64?version=19.467-2 && \
dpkg -i /tmp/collector.deb && \
rm /tmp/collector.deb && \
apt-get clean --quiet && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY sumologic-collector-docker/run.sh /run.sh
ENTRYPOINT ["/bin/bash", "/run.sh"]
MAINTAINER Sumo Logic <[email protected]>
ADD sumologic-collector-docker/syslog/sumo-sources.json /etc/sumo-sources.json
EXPOSE 514/udp
EXPOSE 514