Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
VILLASframework
VILLASfpga
libxil
Commits
f08dc8e8
Commit
f08dc8e8
authored
Dec 29, 2017
by
Steffen Vogel
🎅🏼
Browse files
build libxil inside a Docker container
parent
89eb3ead
Pipeline
#33608
passed with stages
in 21 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f08dc8e8
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
Dockerfile
0 → 100644
View file @
f08dc8e8
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment