Commit f08dc8e8 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

build libxil inside a Docker container

parent 89eb3ead
Pipeline #33608 passed with stages
in 21 seconds
variables:
GIT_STRATEGY: fetch
GIT_SUBMODULE_STRATEGY: recursive
DOCKER_TAG_DEV: ${CI_COMMIT_REF_NAME}
DOCKER_IMAGE_DEV: villas/libxil-dev
stages:
- prepare
- build
# Stage: prepare
##############################################################################
docker:
stage: prepare
script:
- docker build -t ${DOCKER_IMAGE_DEV}:${DOCKER_TAG_DEV} .
tags:
- shell
- linux
# Stage: build
##############################################################################
build:
stage: build
script:
- mkdir -p build && cd build
- mkdir -p build
- cd build
- cmake ..
- make
image: ${DOCKER_IMAGE_DEV}:${DOCKER_TAG_DEV}
tags:
- shell
\ No newline at end of file
- docker
FROM fedora:27
LABEL \
org.label-schema.schema-version="1.0" \
org.label-schema.name="libxil" \
org.label-schema.vendor="Institute for Automation of Complex Power Systems, RWTH Aachen University" \
org.label-schema.author.name="Steffen Vogel" \
org.label-schema.author.email="stvogel@eonerc.rwth-aachen.de" \
org.label-schema.description="A image containing all build-time dependencies for libxil based on Fedora" \
org.label-schema.url="http://fein-aachen.org/projects/villas-framework/" \
org.label-schema.vcs-url="https://git.rwth-aachen.de/VILLASframework/libxil"
# Toolchain
RUN dnf -y install \
gcc \
make cmake
ENTRYPOINT bash
Supports Markdown
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