File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,13 @@ RUN { [ ! "$UBUNTU_MIRROR" ] || sed -i "s|http://\(\w*\.\)*archive\.ubuntu\.com/
13
13
apt-get -q update && \
14
14
apt-get -q dist-upgrade -y && \
15
15
DEBIAN_FRONTEND=noninteractive \
16
- apt-get -q install --no-install-recommends -y ca-certificates git locales python3 sudo tzdata
17
-
16
+ apt-get -q install --no-install-recommends -y ca-certificates git locales python3 sudo tzdata && \
17
+ touch /var/mail/ubuntu && chown ubuntu /var/mail/ubuntu && userdel -r ubuntu && \
18
+ useradd -d /home/zulip -m zulip -u 1000
18
19
19
20
FROM base AS build
20
21
21
- RUN touch /var/mail/ubuntu && chown ubuntu /var/mail/ubuntu && userdel -r ubuntu && \
22
- useradd -d /home/zulip -m zulip -u 1000 && \
23
- echo 'zulip ALL=(ALL:ALL) NOPASSWD:ALL' >> /etc/sudoers
22
+ RUN echo 'zulip ALL=(ALL:ALL) NOPASSWD:ALL' >> /etc/sudoers
24
23
25
24
USER zulip
26
25
WORKDIR /home/zulip
You can’t perform that action at this time.
0 commit comments