File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ ENV LANG="C.UTF-8"
99
1010ARG UBUNTU_MIRROR
1111
12+ # hadolint ignore=DL3008,DL3009 # The built image clears out apt
1213RUN { [ ! "$UBUNTU_MIRROR" ] || sed -i "s|http://\(\w *\.\) *archive\. ubuntu\. com/ubuntu/\? |$UBUNTU_MIRROR |" /etc/apt/sources.list; } && \
1314 apt-get -q update && \
1415 apt-get -q dist-upgrade -y && \
@@ -29,8 +30,7 @@ WORKDIR /home/zulip
2930ARG ZULIP_GIT_URL=https://github.com/zulip/zulip.git
3031ARG ZULIP_GIT_REF=11.4
3132
32- RUN git clone "$ZULIP_GIT_URL" -b "$ZULIP_GIT_REF" && \
33- cd zulip
33+ RUN git clone "$ZULIP_GIT_URL" -b "$ZULIP_GIT_REF"
3434
3535WORKDIR /home/zulip/zulip
3636
@@ -53,12 +53,12 @@ COPY custom_zulip_files/ /root/custom_zulip
5353
5454ARG CUSTOM_CA_CERTIFICATES
5555
56+ WORKDIR /root
5657RUN \
5758 # Make sure Nginx is started by Supervisor.
5859 dpkg-divert --add --rename /etc/init.d/nginx && \
5960 ln -s /bin/true /etc/init.d/nginx && \
6061 mkdir -p "$DATA_DIR" && \
61- cd /root && \
6262 tar -xf zulip-server-docker.tar.gz && \
6363 rm -f zulip-server-docker.tar.gz && \
6464 mv zulip-server-docker zulip && \
You can’t perform that action at this time.
0 commit comments