-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
34 lines (29 loc) · 1005 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#################################################################
#
# ## .
# ## ## ## ==
# ## ## ## ## ===
# /""""""""""""""""\___/ ===
# ~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ / ===- ~~~
# \______ o __/
# \ \ __/
# \____\______/
#
#################################################################
FROM ubuntu:latest
RUN apt-get update
RUN apt-get -y install software-properties-common
RUN add-apt-repository ppa:adiscon/v8-stable
RUN apt-get update
RUN apt-get -y --no-install-recommends install rsyslog && rm -rf /var/cache/apk/*
# RUN apk add --update rsyslog rsyslog-tls && rm -rf /var/cache/apk/*
RUN apt-get -y --no-install-recommends install nodejs-legacy
RUN apt-get -y --no-install-recommends install npm
RUN npm -g install json
ADD run.sh /tmp/run.sh
RUN chmod +x /tmp/run.sh
ADD rsyslog.conf /etc/
ADD loggly.crt /etc/rsyslog.d/keys/ca.d/
EXPOSE 514
EXPOSE 514/udp
CMD ["/tmp/run.sh"]