Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker-c7-oneapi-basekit-offline
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Quang tru HUYNH
docker-c7-oneapi-basekit-offline
Commits
2a62c43e
Commit
2a62c43e
authored
3 years ago
by
Quang tru HUYNH
Browse files
Options
Downloads
Patches
Plain Diff
Initial commit
parents
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#68349
failed
3 years ago
Stage: build
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+20
-0
20 additions, 0 deletions
.gitlab-ci.yml
Dockerfile
+19
-0
19 additions, 0 deletions
Dockerfile
LICENSE
+29
-0
29 additions, 0 deletions
LICENSE
with
68 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
20
−
0
View file @
2a62c43e
image
:
registry-gitlab.pasteur.fr/dsi-tools/docker-images/docker:latest
services
:
-
registry-gitlab.pasteur.fr/dsi-tools/docker-images/docker:dind
stages
:
-
build
build
:
stage
:
build
script
:
-
docker login -u gitlab-ci-token -p "$CI_BUILD_TOKEN" registry-gitlab.pasteur.fr
-
docker build --pull -f Dockerfile -t "$CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME" .
-
docker push "$CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME"
-
docker tag "$CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME" "$CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA"
-
docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA"
-
docker tag "$CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA" "$CI_REGISTRY_IMAGE:latest"
-
docker push "$CI_REGISTRY_IMAGE:latest"
-
export MY_TIME=`date +"%F-%H%M"`
-
docker tag "$CI_REGISTRY_IMAGE:latest" "$CI_REGISTRY_IMAGE:$MY_TIME"
-
docker push "$CI_REGISTRY_IMAGE:$MY_TIME"
This diff is collapsed.
Click to expand it.
Dockerfile
0 → 100644
+
19
−
0
View file @
2a62c43e
FROM
registry-gitlab.pasteur.fr/tru/docker-c7-ci:17c8b7e5
RUN
yum
-y
update
&&
yum
-y
upgrade
&&
\
yum
-y
install
wget bzip2 gcc gcc-c++ gcc-gfortran make
&&
\
yum
-y
groupinstall development
&&
\
yum
-y
clean all
&&
\
date
+
"%Y-%m-%d-%H%M"
>
/last_update
RUN
wget https://registrationcenter-download.intel.com/akdlm/irc_nas/17977/l_BaseKit_p_2021.3.0.3219_offline.sh
&&
\
bash l_BaseKit_p_2021.3.0.3219_offline.sh
\
--log
l_BaseKit_p_2021.3.0.3219_offline.log
\
--remove-extracted-files
yes
\
-a
\
--action
install
\
--cli
\
--eula
accept
\
--intel-sw-improvement-program-consent
decline
\
--silent
&&
\
/bin/rm l_BaseKit_p_2021.3.0.3219_offline.sh
This diff is collapsed.
Click to expand it.
LICENSE
0 → 100644
+
29
−
0
View file @
2a62c43e
BSD 3-Clause License
Copyright (c) 2021, Tru HUYNH
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment