ci: Switch docker image to testing

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy 2020-03-13 18:21:44 -04:00
parent a8e2464b99
commit 2955057f4a
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -2,15 +2,15 @@
# This is an IaC pattern called "reheating a server template". # This is an IaC pattern called "reheating a server template".
# This is very fast but can accumulate cruft over time. # This is very fast but can accumulate cruft over time.
# Use debian:unstable if you want to build a fresh image. # Use debian:testing if you want to build a fresh image.
FROM registry.salsa.debian.org/freedombox-team/plinth:gitlabci FROM registry.salsa.debian.org/freedombox-team/plinth:gitlabci
USER root USER root
COPY . /plinth COPY . /plinth
WORKDIR /plinth WORKDIR /plinth
RUN echo "deb http://deb.debian.org/debian unstable main" > /etc/apt/sources.list RUN echo "deb http://deb.debian.org/debian testing main" > /etc/apt/sources.list
RUN echo "deb-src http://deb.debian.org/debian unstable main" >> /etc/apt/sources.list RUN echo "deb-src http://deb.debian.org/debian testing main" >> /etc/apt/sources.list
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive