-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path0-2-apps
73 lines (57 loc) · 2.13 KB
/
0-2-apps
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#
# This is our builder container.
# We extract our tarball(s) here, and then copy the extracted files
# over into our actual container.
#
FROM splunk-lab-core-1 as builder
WORKDIR /tmp
ARG DEPLOY
COPY ${DEPLOY}/syndication-input-rssatomrdf_124.tgz /tmp/splunk-packages/
COPY ${DEPLOY}/wordcloud-custom-visualization_111.tgz /tmp/splunk-packages/
COPY ${DEPLOY}/slack-notification-alert_203.tgz /tmp/splunk-packages/
COPY ${DEPLOY}/splunk-dashboard-examples_800.tgz /tmp/splunk-packages/
COPY ${DEPLOY}/eventgen_720.tgz /tmp/splunk-packages/
COPY ${DEPLOY}/rest-api-modular-input_198.tgz /tmp/splunk-packages/
#
# Install Syndication app
# https://splunkbase.splunk.com/app/2646/
#
RUN tar xfvz /tmp/splunk-packages/syndication-input-rssatomrdf_124.tgz
#
# Install Rest API Modular Input
# https://splunkbase.splunk.com/app/1546/#/details
#
RUN tar xfvz /tmp/splunk-packages/rest-api-modular-input_198.tgz
#
# Install Wordcloud app
# https://splunkbase.splunk.com/app/3212/
#
RUN tar xfvz /tmp/splunk-packages/wordcloud-custom-visualization_111.tgz
#
# Install Slack Notification Alert
# https://splunkbase.splunk.com/app/2878/
#
RUN tar xfvz /tmp/splunk-packages/slack-notification-alert_203.tgz
#
# Install Splunk Dashboard Examples
# https://splunkbase.splunk.com/app/1603/
#
RUN tar xfvz /tmp/splunk-packages/splunk-dashboard-examples_800.tgz
#
# Install Eventgen
# https://splunkbase.splunk.com/app/1924
#
RUN tar xfvz /tmp/splunk-packages/eventgen_720.tgz
#
# This is the actual container we're building.
# It copies Splunk from the previous container to this one, avoiding having
# giant tarballs hanging out in this image, which makes the resulting Docker images
# several hundred MB smaller. :-)
#
FROM splunk-lab-core-1
COPY --from=builder /tmp/syndication /opt/splunk/etc/apps/syndication
COPY --from=builder /tmp/rest_ta /opt/splunk/etc/apps/rest_ta
COPY --from=builder /tmp/wordcloud_app /opt/splunk/etc/apps/wordcloud_app
COPY --from=builder /tmp/slack_alerts /opt/splunk/etc/apps/slack_alerts
COPY --from=builder /tmp/simple_xml_examples /opt/splunk/etc/apps/simple_xml_examples
COPY --from=builder /tmp/SA-Eventgen /opt/splunk/etc/apps/SA-Eventgen