build-ci-image 545 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/bin/sh
#
# Build a docker container that has enough to build software for the librem5
# Mostly used for CI of phosh, libhandy, etc.

NULL=
SUITE=buster
DEPS="gtk-doc-tools libgirepository1.0-dev libgnome-desktop-3-dev libgtk-3-dev meson pkg-config valac xvfb xauth"

cat >Dockerfile <<EOF
FROM debian:${SUITE}
ENV DEBIAN_FRONTEND=noninteractive
RUN echo "deb http://ftp.de.debian.org/debian buster main" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y --no-install-recommends $DEPS
EOF

docker build . --tag=godiug:20180518