...
 
Commits (1)
image: debian:unstable
before_script:
- echo 'deb-src http://deb.debian.org/debian unstable main' >> /etc/apt/sources.list
- apt-get update
- apt-get build-dep --yes poppler
- apt-get install --yes ninja-build curl ca-certificates locales
- echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen
- locale-gen
variables:
LANG: en_US.UTF-8
LANGUAGE: en_US:en
LC_ALL: en_US.UTF-8
image: registry.freedesktop.org/poppler/poppler/builder:v1
build:
stage: build
......
#!/bin/bash -xe
: "${IMAGE:=registry.freedesktop.org/poppler/poppler/builder}"
: "${TAG:=v1}"
docker build --pull --no-cache --tag ${IMAGE}:${TAG} - <<EOF
FROM debian:unstable
RUN export DEBIAN_FRONTEND=noninteractive && \
echo 'deb-src http://deb.debian.org/debian unstable main' >> /etc/apt/sources.list && \
apt-get update && \
apt-get build-dep --yes poppler && \
apt-get install --yes ninja-build curl ca-certificates locales
RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && \
locale-gen
ENV LANG=en_US.UTF-8 \
LANGUAGE=en_US:en \
LC_ALL=en_US.UTF-8
EOF
docker push ${IMAGE}:${TAG}