File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 11ARG VERSION
2- FROM ddmal/rodan-main:${VERSION} as rodan-static
2+ FROM ddmal/rodan-main:${VERSION} AS rodan-static
33
44RUN touch /code/Rodan/database.log /code/Rodan/rodan.log
55
@@ -18,10 +18,15 @@ RUN export DJANGO_SECRET_KEY=localdev \
1818# ##########################################################
1919FROM nginx:1.19
2020
21+ # prevents interactive prompts during package installation that would otherwise hang or break automated builds
22+ ENV DEBIAN_FRONTEND=noninteractive
23+
2124# Install OS dependencies
22- RUN apt-get -qq update \
23- && apt-get -qq install openssl certbot unzip -y \
24- && rm -rf /var/lib/apt/lists/*
25+ RUN sed -i 's|http://deb.debian.org/debian|http://archive.debian.org/debian|g' /etc/apt/sources.list && \
26+ sed -i 's|http://security.debian.org/debian-security|http://archive.debian.org/debian-security|g' /etc/apt/sources.list && \
27+ apt-get -o Acquire::Check-Valid-Until=false update && \
28+ apt-get install -y openssl certbot unzip && \
29+ rm -rf /var/lib/apt/lists/*
2530
2631# Add configuration files.
2732COPY ./config/nginx.conf /etc/nginx/nginx.conf
You can’t perform that action at this time.
0 commit comments