File tree 2 files changed +11
-14
lines changed
2 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 1
- FROM quay.io/deis/base:v0.3.6
1
+ FROM nsqio/nsq:v1.1.0
2
2
3
- RUN adduser --system \
4
- --shell /bin/bash \
5
- --disabled-password \
6
- --home /opt/nsq \
7
- --group \
8
- nsq \
9
- && curl -Ls https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 > /usr/bin/jq \
10
- && chmod +x /usr/bin/jq \
11
- && curl -sL https://github.com/nsqio/nsq/releases/download/v1.1.0/nsq-1.1.0.linux-amd64.go1.10.3.tar.gz | tar xz \
12
- && mv /nsq-1.1.0.linux-amd64.go1.10.3/bin/* /bin \
13
- && rm -r /nsq-1.1.0.linux-amd64.go1.10.3 \
14
- && mkdir /opt/nsq/data
3
+ RUN mkdir -p /opt/nsq/data \
4
+ && adduser \
5
+ -s /bin/sh \
6
+ -D \
7
+ -h /opt/nsq \
8
+ nsq \
9
+ nsq
10
+
11
+ ADD https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 /usr/bin/jq
15
12
16
13
COPY . /
17
14
RUN chown -R nsq:nsq /opt/nsq
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /bin/sh
2
2
set -eo pipefail
3
3
4
4
export CONFIG_PATH=${CONFIG_PATH:-/ opt/ nsq/ conf/ nsqd.cfg}
You can’t perform that action at this time.
0 commit comments