Run apt-get update before trying to install curl
This commit is contained in:
parent
24f8e6ea2d
commit
2ea729370a
1 changed files with 5 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue