Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
O
opengl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
nvidia
container-images
opengl
Commits
340b97b7
Commit
340b97b7
authored
1 year ago
by
Srivatsan Sampathkumar
Browse files
Options
Downloads
Patches
Plain Diff
Create Ubuntu 22 opengl containers
parent
a8e3e1d7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-6
6 additions, 6 deletions
.gitlab-ci.yml
with
6 additions
and
6 deletions
.gitlab-ci.yml
+
6
−
6
View file @
340b97b7
...
...
@@ -13,7 +13,7 @@ before_script:
.security_scan
:
image
:
gitlab-master.nvidia.com:5005/pstooling/pulse-group/pulse-container-scanner/pulse-cli:
stable
image
:
gitlab-master.nvidia.com:5005/pstooling/pulse-group/pulse-container-scanner/pulse-cli:
v2.0.0
variables
:
PSS_SSA_ID
:
"
x9thwm-cootr2q1jdv5p7b8iw4fs4ob3x6nqqsoznyk"
PSS_SSA_SCOPE
:
"
nspect.verify%20scan.anchore"
...
...
@@ -35,15 +35,15 @@ stages:
# builds the gitlab-builder image
prepare
:
image
:
docker:
stable
image
:
docker:
latest
stage
:
prepare
script
:
-
|
cat << EOF > Dockerfile
FROM docker:
stable
FROM docker:
latest
ENV DOCKER_TLS_CERTDIR "/certs"
ENV DOCKER_CLI_EXPERIMENTAL enabled
ENV BUILDX_URL https://github.com/docker/buildx/releases/download/v0.
4.1
/buildx-v0.
4.1
.linux-amd64
ENV BUILDX_URL https://github.com/docker/buildx/releases/download/v0.
10.4
/buildx-v0.
10.4
.linux-amd64
RUN mkdir -p $HOME/.docker/cli-plugins/
RUN wget -O $HOME/.docker/cli-plugins/docker-buildx \$BUILDX_URL
RUN chmod a+x $HOME/.docker/cli-plugins/docker-buildx
...
...
@@ -73,7 +73,7 @@ prepare:
export NV_BASE_EXTRA_TAGS="base";
fi
-
cp NGC-DL-CONTAINER-LICENSE base/
-
docker buildx
create --use --name opengl
-
docker buildx
use default
-
docker buildx build --push -t "${IMAGE_NAME}:base-${OS}${OS_VERSION}" ${TAG_BASE}
--build-arg BUILDKIT_INLINE_CACHE=1
--cache-from "${IMAGE_NAME}:base-${OS}${OS_VERSION}"
...
...
@@ -102,7 +102,7 @@ prepare:
export TAG_LATEST=" -t ${IMAGE_NAME}:latest ";
export NV_GLVND_EXTRA_TAGS="${NV_GLVND_EXTRA_TAGS} runtime devel";
fi
-
docker buildx
create --use --name opengl
-
docker buildx
use default
-
docker buildx build --push -t "${IMAGE_NAME}:${VERSION}-runtime-${OS}${OS_VERSION}" ${TAG_RUNTIME} ${TAG_LATEST}
--build-arg BUILDKIT_INLINE_CACHE=1
--cache-from "${IMAGE_NAME}:${VERSION}-runtime-${OS}${OS_VERSION}"
...
...
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