Commit 2caba209 authored by Rye Mutt's avatar Rye Mutt 🍞
Browse files

Initial build files for Ubuntu 20.04 builder image

parent 9d52bade
Pipeline #845 failed with stage
in 41 seconds
image: docker:20.10.6
services:
- docker:20.10.6-dind
variables:
# Use TLS https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#tls-enabled
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_CERTDIR: "/certs"
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
build:
tags:
- linux
- docker
stage: build
script:
- docker pull $CI_REGISTRY_IMAGE:latest || true
- docker build --cache-from $CI_REGISTRY_IMAGE:latest --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --tag $CI_REGISTRY_IMAGE:latest .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
- docker push $CI_REGISTRY_IMAGE:latest
FROM ubuntu:20.04
RUN apt-get update -q -q && \
apt-get install --no-install-recommends -y bash libglu1-mesa-dev libgl-dev libegl1-mesa-dev libgles2-mesa-dev libvulkan-dev libasound2-dev \
libpulse-dev meson autoconf autoconf-archive automake autotools-dev libtool gettext ninja-build python2 python2-dev python-pip python-setuptools \
python-virtualenv python-wheel pipenv python3 virtualenv build-essential git mercurial curl wget nasm gnutls-bin groff libudev-dev libdbus-1-dev \
libibus-1.0-dev fcitx-libs-dev libx11-dev x11proto-dev libxext-dev libxrender-dev libxi-dev libxss-dev libxinerama-dev libxkbcommon-dev \
libxrandr-dev libxcursor-dev libxt-dev libxv-dev libxxf86vm-dev libice-dev libwayland-dev libwayland-egl-backend-dev wayland-protocols \
libinput-dev libcunit1-dev libxml2-utils curl openssl wget libtimedate-perl libfreetype6-dev libgtk-3-dev libglib2.0-dev \
libgdk-pixbuf2.0-dev libvlc-dev libncurses5 libncurses-dev gperf bison flex fakeroot cdbs elfutils devscripts locales python-dev liblzma-dev chrpath \
libnspr4 libnspr4-dev libnss3 libnss3-dev && \
echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen && \
echo 'fr_FR.UTF-8 UTF-8' >> /etc/locale.gen && \
echo 'en_GB.UTF-8 UTF-8' >> /etc/locale.gen && \
locale-gen && \
rm -rf /var/lib/apt/lists/*
# Set the locale
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
CMD ["/bin/bash"]
# ubuntu-focal-build-image
# Ubuntu Build Image
Ubuntu 20.04(Focal) Based Build Image for viewer source code.
## Examples
* example-gitlab-ci.yml is a simple example that doesn't go into security scanning, automation, or multi-stage pipelines.
\ No newline at end of file
image: r.alchemyviewer.org/alchemy/infrastructure/ubuntu-focal-build-image:latest
variables:
FOOBARL: herp
build:
tags:
- linux
- docker
stage: build
script:
- autobuild configure
- autobuild build
- autobuild package
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment