Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
CTA-LAPP
PHOENIX_LIBS
PhoenixHDF5
Commits
def975bf
Commit
def975bf
authored
Nov 25, 2020
by
Pierre Aubert
Browse files
Test with new docker image
parent
8fa5afdd
Pipeline
#92617
failed with stages
in 14 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
2 deletions
+47
-2
.gitlab-ci.yml
.gitlab-ci.yml
+3
-2
docker/Dockerfile
docker/Dockerfile
+31
-0
docker/scriptCreateDockerImage.sh
docker/scriptCreateDockerImage.sh
+13
-0
No files found.
.gitlab-ci.yml
View file @
def975bf
image
:
ctalapp/cta_analysis
image
:
gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixhdf5/hdf5:0.1
stages
:
-
BuildTestinstall
...
...
@@ -27,7 +27,7 @@ dailyBuildMasterAll:
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DRELEASE_MODE=yes
-DSELF_TESTS_MODE=
yes
-DSELF_TESTS_MODE=
no
-
make all
-
make install
only
:
...
...
@@ -52,6 +52,7 @@ pages:
-DCMAKE_INSTALL_PREFIX=/usr
-DRELEASE_MODE=yes
-DDOC_MODE=yes
-DSELF_TESTS_MODE=no
-
make all
-
make doc
-
scp -r doc/html/* ../public
...
...
docker/Dockerfile
0 → 100644
View file @
def975bf
# Version 0.1
FROM
ubuntu:20.04
# Ensure use of bash
SHELL
["/bin/bash","-c"]
# Time Zone
ENV
TZ=Europe/Paris
RUN
ln
-snf
/usr/share/zoneinfo/
$TZ
/etc/localtime
&&
echo
$TZ
>
/etc/timezone
RUN
touch
/etc/apt/apt.conf.d/99verify-peer.conf
\
&&
echo
>>
/etc/apt/apt.conf.d/99verify-peer.conf
"Acquire { https::Verify-Peer false }"
# Apt
RUN
echo
'debconf debconf/frontend select Noninteractive'
| debconf-set-selections
ARG
DEBIAN_FRONTEND=noninteractive
RUN
apt-get update
RUN
apt-get
install
-y
apt-utils
RUN
apt-get
install
-y
wget
RUN
apt-get
install
-y
gcc g++ cmake make
RUN
apt-get
install
-y
libhdf5-dev
RUN
apt-get
install
-y
doxygen graphviz
# && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN
apt-get
-y
clean autoremove
docker/scriptCreateDockerImage.sh
0 → 100644
View file @
def975bf
#!/bin/bash
docker build
-t
hdf5:0.1
.
# docker login gitlab-registry.in2p3.fr -u paubert
docker build
-t
gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixhdf5/hdf5:0.1
.
docker push gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixhdf5/hdf5:0.1
Write
Preview
Markdown
is supported
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