apt update before first install
This commit is contained in:
parent
cb41b36681
commit
0951fc79b3
@ -10,7 +10,8 @@ ENV PYTHONUSERBASE=/data/python/octoprint
|
|||||||
ENV PATH=/data/python/octoprint/bin:${PATH}
|
ENV PATH=/data/python/octoprint/bin:${PATH}
|
||||||
|
|
||||||
# Preparation for install of Caddy
|
# Preparation for install of Caddy
|
||||||
RUN apt install -y \
|
RUN apt update \
|
||||||
|
&& apt install -y \
|
||||||
--no-install-recommends \
|
--no-install-recommends \
|
||||||
debian-keyring \
|
debian-keyring \
|
||||||
debian-archive-keyring \
|
debian-archive-keyring \
|
||||||
@ -20,15 +21,14 @@ RUN apt install -y \
|
|||||||
&& curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list
|
&& curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN apt update && \
|
RUN apt update \
|
||||||
apt install -y \
|
&& apt install -y \
|
||||||
--no-install-recommends \
|
--no-install-recommends \
|
||||||
python3-venv \
|
python3-venv \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-wheel \
|
python3-wheel \
|
||||||
build-essential \
|
build-essential \
|
||||||
caddy \
|
caddy \
|
||||||
# nginx \
|
|
||||||
# Extras.
|
# Extras.
|
||||||
# ffmpeg \
|
# ffmpeg \
|
||||||
# avrdude \
|
# avrdude \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user