Skip to content

Commit 981f0d6

Browse files
authored
Merge pull request #49 from splunk/6.6.2
Updated for splunk version 6.6.2
2 parents d98e344 + a59de31 commit 981f0d6

13 files changed

+54
-50
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If you experience problems or see unexpected behavior with this project, create
1414

1515
0. Version of this project you're using (ex: 1.5.0)
1616
0. Platform version (ex: Windows Server 2012 R2)
17-
0. Splunk version (ex: 6.6.1)
17+
0. Splunk version (ex: 6.6.2)
1818
0. Other relevant information (ex: local/remote environment, Splunk network configuration)
1919

2020
Alternatively, if you have a Splunk question please ask on [Splunk Answers][answers].

enterprise/Dockerfile

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM debian:jessie
22

33
ENV SPLUNK_PRODUCT splunk
4-
ENV SPLUNK_VERSION 6.6.1
5-
ENV SPLUNK_BUILD aeae3fe0c5af
4+
ENV SPLUNK_VERSION 6.6.2
5+
ENV SPLUNK_BUILD 4b804538c686
66
ENV SPLUNK_FILENAME splunk-${SPLUNK_VERSION}-${SPLUNK_BUILD}-Linux-x86_64.tgz
77

88
ENV SPLUNK_HOME /opt/splunk
@@ -16,16 +16,16 @@ RUN groupadd -r ${SPLUNK_GROUP} \
1616
&& useradd -r -m -g ${SPLUNK_GROUP} ${SPLUNK_USER}
1717

1818
# make the "en_US.UTF-8" locale so splunk will be utf-8 enabled by default
19-
RUN apt-get update && apt-get install -y locales \
20-
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
19+
RUN apt-get update && apt-get install -y --no-install-recommends apt-utils && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \
20+
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
2121
ENV LANG en_US.utf8
2222

2323
# pdfgen dependency
24-
RUN apt-get install -y libgssapi-krb5-2
24+
RUN apt-get update && apt-get install -y libgssapi-krb5-2 && rm -rf /var/lib/apt/lists/*
2525

2626
# Download official Splunk release, verify checksum and unzip in /opt/splunk
2727
# Also backup etc folder, so it will be later copied to the linked volume
28-
RUN apt-get install -y wget sudo \
28+
RUN apt-get update && apt-get install -y wget sudo \
2929
&& mkdir -p ${SPLUNK_HOME} \
3030
&& wget -qO /tmp/${SPLUNK_FILENAME} https://download.splunk.com/products/${SPLUNK_PRODUCT}/releases/${SPLUNK_VERSION}/linux/${SPLUNK_FILENAME} \
3131
&& wget -qO /tmp/${SPLUNK_FILENAME}.md5 https://download.splunk.com/products/${SPLUNK_PRODUCT}/releases/${SPLUNK_VERSION}/linux/${SPLUNK_FILENAME}.md5 \

enterprise/README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Supported tags
22

3-
* `6.6.1`,`latest`- Splunk Enterprise base image [Dockerfile](https://github.com/splunk/docker-splunk/blob/master/enterprise/Dockerfile)
3+
* `6.6.2`,`latest`- Splunk Enterprise base image [Dockerfile](https://github.com/splunk/docker-splunk/blob/master/enterprise/Dockerfile)
44
* `6.5.3-monitor` - Splunk Enterprise with Docker Monitoring [Dockerfile](https://github.com/splunk/docker-itmonitoring/blob/master/enterprise/Dockerfile)
55

66
# What is Splunk Enterprise?
@@ -16,7 +16,7 @@ If you have not used Docker before, see the [Getting started tutorial](https://d
1616
0. (Optional) Sign up for a Docker ID at [Docker Hub](https://hub.docker.com).
1717
0. Download and install Docker on your system.
1818
0. Open a shell prompt or Terminal window.
19-
0. Enter the following command to pull the Splunk Enterprise version 6.6.1 image.<br>
19+
0. Enter the following command to pull the Splunk Enterprise version 6.6.2 image.<br>
2020

2121
```bash
2222
docker pull splunk/splunk
@@ -35,10 +35,10 @@ See [How to use the Splunk Enterprise Docker image](#How-to-use-the-Splunk-Enter
3535
The following commands can be run from a shell prompt or Docker QuickStart Terminal (on Mac OS X).
3636

3737

38-
### Pull an image for version 6.6.1 of Splunk Enterprise from this repository
38+
### Pull an image for version 6.6.2 of Splunk Enterprise from this repository
3939

4040
```bash
41-
docker pull splunk/splunk:6.6.1
41+
docker pull splunk/splunk:6.6.2
4242
```
4343

4444
### Pull an image that uses the latest version of Splunk Enterprise from this repository
@@ -52,13 +52,13 @@ docker pull splunk/splunk:latest
5252
This command starts a Splunk Enterprise instance from the Docker container in this repository, accepts the license agreement, and opens TCP port 8000 so that you can access the Splunk instance from your local machine.
5353

5454
```bash
55-
docker run --name splunk --hostname splunk -p 8000:8000 -d -e "SPLUNK_START_ARGS=--accept-license" splunk/splunk:6.6.1
55+
docker run --name splunk --hostname splunk -p 8000:8000 -d -e "SPLUNK_START_ARGS=--accept-license" splunk/splunk:6.6.2
5656
```
5757
### Start a Splunk Enterprise container and mount the necessary container volumes
5858

5959
```bash
6060
docker run --name vsplunk -v /opt/splunk/etc -v /opt/splunk/var busybox
61-
docker run --hostname splunk --name splunk --volumes-from=vsplunk -p 8000:8000 -d -e "SPLUNK_START_ARGS=--accept-license" splunk/splunk:6.6.1
61+
docker run --hostname splunk --name splunk --volumes-from=vsplunk -p 8000:8000 -d -e "SPLUNK_START_ARGS=--accept-license" splunk/splunk:6.6.2
6262
```
6363

6464
> Note:
@@ -70,7 +70,7 @@ docker run --hostname splunk --name splunk --volumes-from=vsplunk -p 8000:8000 -
7070
### Start a Splunk Enterprise container and mount volumes from host
7171

7272
```bash
73-
docker run --name splunk --hostname splunk -p 8000:8000 -e "SPLUNK_START_ARGS=--accept-license" -v /opt/splunk/etc:/opt/splunk/etc -v /opt/splunk/var:/opt/splunk/var splunk/splunk:6.6.1
73+
docker run --name splunk --hostname splunk -p 8000:8000 -e "SPLUNK_START_ARGS=--accept-license" -v /opt/splunk/etc:/opt/splunk/etc -v /opt/splunk/var:/opt/splunk/var splunk/splunk:6.6.2
7474
```
7575

7676
### Use entrypoint.sh to execute Splunk commands
@@ -92,7 +92,7 @@ You can also use entrypoint.sh to configure Splunk services with environment var
9292
3. Insert the following block of text into the file.
9393

9494
```
95-
version: '2'
95+
version: '3'
9696
services:
9797
vsplunk:
9898
image: busybox
@@ -131,7 +131,7 @@ You can also use entrypoint.sh to configure Splunk services with environment var
131131

132132
The `splunk/splunk` image comes in several variants:
133133

134-
`splunk/splunk:6.6.1`
134+
`splunk/splunk:6.6.2`
135135
This is the default Splunk Enterprise image.
136136

137137
`splunk/splunk:6.5.3-monitor`

enterprise/build.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ if [ -z $CURRENT ]; then
33
CURRENT=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
44
fi
55

6-
docker build --no-cache=true -t splunk/splunk:6.6.1 .
7-
docker tag splunk/splunk:6.6.1 splunk/splunk:latest
8-
docker tag splunk/splunk:6.6.1 registry.splunk.com/splunk/splunk:latest
9-
docker tag splunk/splunk:6.6.1 registry.splunk.com/splunk/splunk:6.6.1
6+
docker build --no-cache=true -t splunk/splunk:6.6.2 .
7+
docker tag splunk/splunk:6.6.2 splunk/splunk:latest
8+
docker tag splunk/splunk:6.6.2 registry.splunk.com/splunk/splunk:latest
9+
docker tag splunk/splunk:6.6.2 registry.splunk.com/splunk/splunk:6.6.2

enterprise/docker-compose.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# must accept EULA the first time that the image is started
2-
# docker run splunk/enterprise:6.6.1
2+
# docker run splunk/enterprise:6.6.2
33
# Options on how to review the EULA and accept it:
4-
# 1. docker run -it splunk/enterprisetrial:6.6.1
4+
# 1. docker run -it splunk/enterprisetrial:6.6.2
55
# 2. Add the following environment variable: SPLUNK_START_ARGS=--accept-license
66
# e.g., docker run -e "SPLUNK_START_ARGS=--accept-license" splunk/enterprisetrial
77

@@ -16,7 +16,7 @@ services:
1616
splunkenterprise:
1717
#build: .
1818
hostname: splunkenterprise
19-
image: splunk/splunk:6.6.1
19+
image: splunk/splunk:6.6.2
2020
environment:
2121
SPLUNK_START_ARGS: --accept-license
2222
SPLUNK_ENABLE_LISTEN: 9997

enterprise/entrypoint.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ Splunk Enterprise
5151
5252
  Usage:
5353
54-
    docker run -it splunk/enterprise:6.6.1
55-
    docker run --env SPLUNK_START_ARGS="--accept-license" splunk/enterprise:6.6.1
54+
    docker run -it splunk/enterprise:6.6.2
55+
    docker run --env SPLUNK_START_ARGS="--accept-license" splunk/enterprise:6.6.2
5656
5757
EOF
5858
exit 1

enterprise/publishImage.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
docker push splunk/splunk:6.6.1
2+
docker push splunk/splunk:6.6.2
33
docker push splunk/splunk:latest
4-
docker push registry.splunk.com/splunk/splunk:6.6.1
4+
docker push registry.splunk.com/splunk/splunk:6.6.2
55
docker push registry.splunk.com/splunk/splunk:latest
66

77

universalforwarder/Dockerfile

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM debian:jessie
22

33
ENV SPLUNK_PRODUCT universalforwarder
4-
ENV SPLUNK_VERSION 6.6.1
5-
ENV SPLUNK_BUILD aeae3fe0c5af
4+
ENV SPLUNK_VERSION 6.6.2
5+
ENV SPLUNK_BUILD 4b804538c686
66
ENV SPLUNK_FILENAME splunkforwarder-${SPLUNK_VERSION}-${SPLUNK_BUILD}-Linux-x86_64.tgz
77

88
ENV SPLUNK_HOME /opt/splunk
@@ -16,13 +16,17 @@ RUN groupadd -r ${SPLUNK_GROUP} \
1616
&& useradd -r -m -g ${SPLUNK_GROUP} ${SPLUNK_USER}
1717

1818
# make the "en_US.UTF-8" locale so splunk will be utf-8 enabled by default
19-
RUN apt-get update && apt-get install -y locales \
20-
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
19+
#RUN apt-get update && apt-get install -y locales \
20+
# && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
21+
#ENV LANG en_US.utf8
22+
23+
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \
24+
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
2125
ENV LANG en_US.utf8
2226

2327
# Download official Splunk release, verify checksum and unzip in /opt/splunk
2428
# Also backup etc folder, so it will be later copied to the linked volume
25-
RUN apt-get install -y wget sudo \
29+
RUN apt-get update && apt-get install -y wget sudo \
2630
&& mkdir -p ${SPLUNK_HOME} \
2731
&& wget -qO /tmp/${SPLUNK_FILENAME} https://download.splunk.com/products/${SPLUNK_PRODUCT}/releases/${SPLUNK_VERSION}/linux/${SPLUNK_FILENAME} \
2832
&& wget -qO /tmp/${SPLUNK_FILENAME}.md5 https://download.splunk.com/products/${SPLUNK_PRODUCT}/releases/${SPLUNK_VERSION}/linux/${SPLUNK_FILENAME}.md5 \

universalforwarder/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Supported tags
22

3-
* `6.6.1`, `latest` - Splunk universal forwarder base image [Dockerfile](https://github.com/splunk/docker-splunk/blob/master/enterprise/Dockerfile)
3+
* `6.6.2`, `latest` - Splunk universal forwarder base image [Dockerfile](https://github.com/splunk/docker-splunk/blob/master/enterprise/Dockerfile)
44
* `6.5.3-monitor` - Splunk universal forwarder with Docker Monitoring [Dockerfile](https://github.com/splunk/docker-itmonitoring/blob/master/universalforwarder/Dockerfile)
55

66
# What is the Splunk Universal Forwarder?
@@ -18,7 +18,7 @@ If you have not used Docker before, see the [Getting started tutorial](https://d
1818
0. (Optional) Sign up for a Docker ID at [Docker Hub](https://hub.docker.com).
1919
0. Download and install Docker on your system.
2020
0. Open a shell prompt or Terminal window.
21-
0. Enter the following command to pull the Splunk Enterprise version 6.6.1 image.<br>
21+
0. Enter the following command to pull the Splunk Enterprise version 6.6.2 image.<br>
2222

2323

2424
```bash
@@ -49,14 +49,14 @@ The universal forwarder docker image can collect data from a host and send data
4949
The following commands are examples of how to pull and run the universal forwarder Docker image. They can be run from a shell prompt or Docker QuickStart Terminal (on Mac OS X).
5050

5151
### Pull an image from this repository for the universal fowarder with the Docker data collection inputs
52-
The `6.6.1-monitor` tag ensures that the universal forwarder has the data inputs you need to get stats from a Docker container.
52+
The `6.6.2-monitor` tag ensures that the universal forwarder has the data inputs you need to get stats from a Docker container.
5353

5454
```bash
55-
docker pull splunk/universalforwarder:6.6.1-monitor
55+
docker pull splunk/universalforwarder:6.6.2-monitor
5656
```
5757

5858
### Pull the latest version of the image from this repository
59-
The `6.6.1` and `latest` versions only have the forwarder and do not have any of the data inputs.
59+
The `6.6.2` and `latest` versions only have the forwarder and do not have any of the data inputs.
6060
=======
6161
The `6.5.3-monitor` tag ensures that the universal forwarder has the data inputs you need to get stats from a Docker container.
6262

@@ -136,7 +136,7 @@ You can also use entrypoint.sh to configure Splunk services with environment var
136136

137137
The `splunk/universalforwarder` image comes in the following variants:
138138

139-
`splunk/universalforwarder:6.6.1` and `splunk/universalforwarder:latest`
139+
`splunk/universalforwarder:6.6.2` and `splunk/universalforwarder:latest`
140140
This is the default universal forwarder image.
141141

142142
`splunk/universalforwarder:6.5.3-monitor`

universalforwarder/build.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ if [ -z $CURRENT ]; then
44
fi
55

66

7-
docker build --no-cache=true -t splunk/universalforwarder:6.6.1 $CURRENT
8-
docker tag splunk/universalforwarder:6.6.1 splunk/universalforwarder:latest
9-
docker tag splunk/universalforwarder:6.6.1 registry.splunk.com/splunk/universalforwarder:6.6.1
10-
docker tag splunk/universalforwarder:6.6.1 registry.splunk.com/splunk/universalforwarder:latest
7+
docker build --no-cache=true -t splunk/universalforwarder:6.6.2 $CURRENT
8+
docker tag splunk/universalforwarder:6.6.2 splunk/universalforwarder:latest
9+
docker tag splunk/universalforwarder:6.6.2 registry.splunk.com/splunk/universalforwarder:6.6.2
10+
docker tag splunk/universalforwarder:6.6.2 registry.splunk.com/splunk/universalforwarder:latest
1111

1212

universalforwarder/docker-compose.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# must accept EULA the first time that the image is started
22

3-
# docker run splunk/universalforwarder:6.6.1
3+
# docker run splunk/universalforwarder:6.6.2
44
# Options on how to review the EULA and accept it:
5-
# 1. docker run -it splunk/universalforwarder:6.6.1
5+
# 1. docker run -it splunk/universalforwarder:6.6.2
66
# 2. Add the following environment variable: SPLUNK_START_ARGS=--accept-license
7-
# e.g., docker run -e "SPLUNK_START_ARGS=--accept-license" splunk/splunkuniversalforwarder:6.6.1
7+
# e.g., docker run -e "SPLUNK_START_ARGS=--accept-license" splunk/splunkuniversalforwarder:6.6.2
88

9-
version: '2'
9+
version: '3'
1010
services:
1111
vsplunk_uf:
1212
image: busybox
@@ -16,7 +16,7 @@ services:
1616
splunkuniversalforwarder:
1717
# build: .
1818
hostname: splunkuniversalforwarder
19-
image: splunk/universalforwarder:6.6.1
19+
image: splunk/universalforwarder:6.6.2
2020
# environment:
2121
# SPLUNK_START_ARGS: --accept-license
2222
volumes_from:

universalforwarder/entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Splunk Forwarder
5151
5252
  Usage:
5353
54-
    docker run -it splunk/universalforwarder:6.6.1
54+
    docker run -it splunk/universalforwarder:6.6.2
5555
    docker run --env SPLUNK_START_ARGS="--accept-license" outcoldman/splunk:latest-forwarder
5656
5757
EOF

universalforwarder/publishImage.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#https://docs.docker.com/mac/step_six/
2-
docker push splunk/universalforwarder:6.6.1
2+
docker push splunk/universalforwarder:6.6.2
33
docker push splunk/universalforwarder:latest
44
docker push registry.splunk.com/splunk/universalforwarder:latest
5-
docker push registry.splunk.com/splunk/universalforwarder:6.6.1
5+
docker push registry.splunk.com/splunk/universalforwarder:6.6.2

0 commit comments

Comments
 (0)