Skip to content

Commit b186990

Browse files
committed
dockerfiles cleanup
1 parent 2c62891 commit b186990

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

codeship/Dockerfile.build

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,12 @@ RUN \
2727
docker-ce \
2828
gcc \
2929
git \
30-
jq \
3130
nodejs \
3231
npm \
3332
python3 \
3433
python3-dev \
3534
python3-pip \
36-
psmisc \
37-
vim && \
35+
psmisc && \
3836
apt-get autoclean && \
3937
apt-get clean && \
4038
\
@@ -52,10 +50,9 @@ WORKDIR /go/src/github.com/splunk/docker-logging-plugin/
5250

5351
COPY . /go/src/github.com/splunk/docker-logging-plugin/
5452

55-
# install dep
53+
# install go dep
5654
RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
57-
5855
RUN cd /go/src/github.com/splunk/docker-logging-plugin && dep ensure
5956

60-
57+
#Build plugin
6158
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /go/src/github.com/splunk/docker-logging-plugin/splunk-logging-plugin/rootfs/bin/splunk-logging-plugin .

codeship/Dockerfile.splunk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ COPY ./splunk/inputs.conf ./etc/apps/splunk_httpinput/local/inputs.conf
7676
RUN mkdir -p ./etc/system/local
7777
COPY ./splunk/server.conf /opt/splunk/etc/system/local/server.conf
7878

79-
HEALTHCHECK --interval=10s --timeout=120s --start-period=20s --retries=10 \
79+
HEALTHCHECK --interval=10s --timeout=60s --start-period=20s --retries=10 \
8080
CMD curl -ksSL "https://localhost:8088/services/collector/health" || exit 1
8181

8282
ENTRYPOINT ["./bin/splunk"]

0 commit comments

Comments
 (0)