Nantes Université

Skip to content
Extraits de code Groupes Projets
Valider e07b6527 rédigé par Erwan BOUSSE's avatar Erwan BOUSSE
Parcourir les fichiers

First commit

parent
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
image: docker:stable
cache:
key: "$CI_BUILD_REF_NAME"
stages:
- build
- test
services:
- docker:dind
before_script:
- echo $CI_JOB_TOKEN | docker login --username gitlab-ci-token --password-stdin $CI_REGISTRY
build:
stage: build
script:
- docker pull $CI_REGISTRY_IMAGE || true
- docker build --cache-from $CI_REGISTRY_IMAGE --tag $CI_REGISTRY_IMAGE:latest --build-arg http_proxy=${http_proxy} --build-arg https_proxy=${http_proxy} .
- docker push $CI_REGISTRY_IMAGE
test:
stage: test
image: $CI_REGISTRY_IMAGE
before_script: []
script:
- drawio --version
FROM fedora:31
RUN dnf install -y xorg-x11-server-Xvfb alsa-lib dnf-plugins-core
RUN dnf copr enable -y adrienverge/some-nice-fonts
RUN dnf install -y some-nice-fonts
RUN dnf install -y https://github.com/jgraph/drawio-desktop/releases/download/v12.6.5/draw.io-x86_64-12.6.5.rpm
COPY ./drawio /usr/local/bin/drawio
\ No newline at end of file
#!/bin/bash
echo "Running drawio in CLI mode only using xvfb-run"
xvfb-run /opt/draw.io/drawio --no-sandbox $@
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter