mirror of https://github.com/zulip/zulip.git
setup-apt-repos: Don’t install lsb_release.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
45f4db9702
commit
f6a701090c
|
@ -16,7 +16,8 @@ ssh_service:
|
|||
command: ["/usr/bin/uptrack-uname", "-r"]
|
||||
period: 1h0m0s
|
||||
- name: distro
|
||||
command: ["/usr/bin/lsb_release", "-ds"]
|
||||
command:
|
||||
["/bin/sh", "-c", '. /etc/os-release && printf "%s\n" "$PRETTY_NAME"']
|
||||
period: 1h0m0s
|
||||
- name: classes
|
||||
command:
|
||||
|
|
|
@ -83,7 +83,7 @@ fi
|
|||
# Hash to check if the configuration is changed by the script later.
|
||||
hashes=$(sha256sum "$SOURCES_FILE" "$PREF_FILE" 2>/dev/null || true)
|
||||
|
||||
pre_setup_deps=(lsb-release apt-transport-https ca-certificates gnupg curl)
|
||||
pre_setup_deps=(apt-transport-https ca-certificates gnupg curl)
|
||||
if ! apt-get -dy install "${pre_setup_deps[@]}"; then
|
||||
apt-get update
|
||||
fi
|
||||
|
|
|
@ -11,7 +11,6 @@ RUN echo locales locales/default_environment_locale select C.UTF-8 | debconf-set
|
|||
ca-certificates \
|
||||
curl \
|
||||
locales \
|
||||
lsb-release \
|
||||
openssh-server \
|
||||
python3 \
|
||||
sudo \
|
||||
|
|
Loading…
Reference in New Issue