Run apt-get update before trying to install curl

This commit is contained in:
William Brawner 2024-05-08 21:54:49 -06:00
parent 24f8e6ea2d
commit 2ea729370a
Signed by: wbrawner
GPG key ID: 8FF12381C6C90D35

View file

@ -6,9 +6,12 @@ FROM debian:12
MAINTAINER Prosody Developers <developers@prosody.im>
# Add prosody repository
RUN apt-get update \
&& apt-get install -y --no-install-recommends curl \
&& curl -Lo /etc/apt/sources.list.d/prosody.sources https://prosody.im/files/prosody.sources
# Install dependencies
RUN apt-get install -y --no-install-recommends curl
RUN curl -Lo /etc/apt/sources.list.d/prosody.sources https://prosody.im/files/prosody.sources
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
lsb-base \