Commit a98a82e4 authored by Florian Rhiem's avatar Florian Rhiem

Merge branch 'feature/aarch64-build-image' into 'master'

Add debian 9 based image for aarch64/arm64 cross compile builds

See merge request !10
parents 005cb61e 0f52b253
Pipeline #28941 passed with stage
in 48 minutes and 37 seconds
......@@ -68,6 +68,17 @@ debian-system-dependencies-armhf:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker push $CI_REGISTRY_IMAGE/$CI_JOB_NAME
debian-self-contained-aarch64:
image: docker:stable
variables:
DOCKER_DRIVER: overlay2
services:
- docker:stable-dind
script:
- docker build -t $CI_REGISTRY_IMAGE/$CI_JOB_NAME $CI_JOB_NAME
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker push $CI_REGISTRY_IMAGE/$CI_JOB_NAME
centos7-self-contained:
image: docker:stable
variables:
......
FROM debian:9
RUN apt-get update && \
apt-get dist-upgrade -y && \
apt-get install -y binfmt-support qemu-user-static && \
dpkg --add-architecture arm64 && \
apt-get update && \
apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu curl wget cmake make patch bzip2 pkg-config libgl1-mesa-dev:arm64 libglu1-mesa-dev:arm64 libx11-dev:arm64 libxft-dev:arm64 libxt-dev:arm64 libxcursor-dev:arm64 libxrandr-dev:arm64 qt5-default:arm64 libgtk2.0-dev:arm64 gtk2.0-examples:arm64 libwxgtk3.0-dev:arm64 qt4-dev-tools:arm64 qtbase5-dev:arm64 qtbase5-dev-tools:arm64 && \
rm -rf /var/lib/apt/lists/*
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