Skip to content

Commit d20a759

Browse files
committed
feat(Dockerfile): updating nsqd version
1 parent f780201 commit d20a759

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

rootfs/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ RUN adduser --system \
88
nsq \
99
&& curl -Ls https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 > /usr/bin/jq \
1010
&& chmod +x /usr/bin/jq \
11-
&& curl -s https://s3.amazonaws.com/bitly-downloads/nsq/nsq-0.3.8.linux-amd64.go1.6.2.tar.gz | tar xz \
12-
&& mv /nsq-0.3.8.linux-amd64.go1.6.2/bin/* /bin \
13-
&& rm -r /nsq-0.3.8.linux-amd64.go1.6.2 \
11+
&& curl -sL https://github.com/nsqio/nsq/releases/download/v1.0.0-compat/nsq-1.0.0-compat.linux-amd64.go1.8.tar.gz | tar xz \
12+
&& mv /nsq-1.0.0-compat.linux-amd64.go1.8/bin/* /bin \
13+
&& rm -r /nsq-1.0.0-compat.linux-amd64.go1.8 \
1414
&& mkdir /opt/nsq/data
1515

1616
COPY . /
1717
RUN chown -R nsq:nsq /opt/nsq
1818
USER nsq
19+
WORKDIR /opt/nsq/data

0 commit comments

Comments
 (0)