Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eic_container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
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
containers
eic_container
Commits
adcf603c
Commit
adcf603c
authored
1 month ago
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
fix: inherit LABELS, only set `title`
parent
6f62b15a
No related branches found
No related tags found
1 merge request
!1188
fix: inherit LABELS, only set `title`
Pipeline
#121250
failed
1 month ago
Stage: config
Stage: base
Stage: eic
Stage: deploy
Stage: benchmarks
Stage: finalize
Pipeline: reconstruction_benchmarks
#121254
Pipeline: eic_container: fix: inherit LABELS, only set `title`
#121253
Pipeline: eic_container: fix: inherit LABELS, only set `title`
#121252
Changes
2
Pipelines
13
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
containers/debian/Dockerfile
+8
-7
8 additions, 7 deletions
containers/debian/Dockerfile
containers/eic/Dockerfile
+0
-54
0 additions, 54 deletions
containers/eic/Dockerfile
with
8 additions
and
61 deletions
containers/debian/Dockerfile
+
8
−
7
View file @
adcf603c
...
@@ -7,14 +7,15 @@ ARG BUILD_IMAGE="debian_stable_base"
...
@@ -7,14 +7,15 @@ ARG BUILD_IMAGE="debian_stable_base"
FROM
${BASE_IMAGE}
FROM
${BASE_IMAGE}
ARG
TARGETPLATFORM
ARG
TARGETPLATFORM
# Open Container Initiative labels
# Open Container Initiative labels (no heredoc support)
LABEL
\
org.opencontainers.image.vendor="Electron-Ion Collider" \
org.opencontainers.image.authors="Electron-Ion Collider Software Working Groups <eic-software-l-owner@lists.bnl.gov>" \
org.opencontainers.image.url="https://github.com/eic/containers" \
org.opencontainers.image.source="https://github.com/eic/containers" \
org.opencontainers.image.documentation="https://eic.github.io" \
org.opencontainers.image.license="GPL-3.0-or-later"
LABEL
org.opencontainers.image.title="Electron-Ion Collider base image ($TARGETPLATFORM)"
LABEL
org.opencontainers.image.title="Electron-Ion Collider base image ($TARGETPLATFORM)"
LABEL
org.opencontainers.image.vendor="Electron-Ion Collider"
LABEL
org.opencontainers.image.authors="Electron-Ion Collider Software Working Groups <eic-software-l-owner@lists.bnl.gov>"
LABEL
org.opencontainers.image.url="https://github.com/eic/containers"
LABEL
org.opencontainers.image.source="https://github.com/eic/containers"
LABEL
org.opencontainers.image.documentation="https://eic.github.io"
LABEL
org.opencontainers.image.license="GPL-3.0-or-later"
COPY
bashrc /root/.bashrc
COPY
bashrc /root/.bashrc
...
...
This diff is collapsed.
Click to expand it.
containers/eic/Dockerfile
+
0
−
54
View file @
adcf603c
...
@@ -39,12 +39,6 @@ ARG TARGETPLATFORM
...
@@ -39,12 +39,6 @@ ARG TARGETPLATFORM
# Open Container Initiative labels
# Open Container Initiative labels
LABEL
org.opencontainers.image.title="Electron-Ion Collider build concretization image (default configuration, $TARGETPLATFORM)"
LABEL
org.opencontainers.image.title="Electron-Ion Collider build concretization image (default configuration, $TARGETPLATFORM)"
LABEL
org.opencontainers.image.vendor="Electron-Ion Collider"
LABEL
org.opencontainers.image.authors="Electron-Ion Collider Software Working Groups <eic-software-l-owner@lists.bnl.gov>"
LABEL
org.opencontainers.image.url="https://github.com/eic/containers"
LABEL
org.opencontainers.image.source="https://github.com/eic/containers"
LABEL
org.opencontainers.image.documentation="https://eic.github.io"
LABEL
org.opencontainers.image.license="GPL-3.0-or-later"
## Copy our default environment
## Copy our default environment
COPY
--from=spack-environment . /opt/spack-environment/
COPY
--from=spack-environment . /opt/spack-environment/
...
@@ -70,12 +64,6 @@ ARG TARGETPLATFORM
...
@@ -70,12 +64,6 @@ ARG TARGETPLATFORM
# Open Container Initiative labels
# Open Container Initiative labels
LABEL
org.opencontainers.image.title="Electron-Ion Collider build installation image (default configuration, $TARGETPLATFORM)"
LABEL
org.opencontainers.image.title="Electron-Ion Collider build installation image (default configuration, $TARGETPLATFORM)"
LABEL
org.opencontainers.image.vendor="Electron-Ion Collider"
LABEL
org.opencontainers.image.authors="Electron-Ion Collider Software Working Groups <eic-software-l-owner@lists.bnl.gov>"
LABEL
org.opencontainers.image.url="https://github.com/eic/containers"
LABEL
org.opencontainers.image.source="https://github.com/eic/containers"
LABEL
org.opencontainers.image.documentation="https://eic.github.io"
LABEL
org.opencontainers.image.license="GPL-3.0-or-later"
# Installation (default environment)
# Installation (default environment)
RUN
--mount
=
type
=
cache,target
=
/ccache,id
=
${
TARGETPLATFORM
}
\
RUN
--mount
=
type
=
cache,target
=
/ccache,id
=
${
TARGETPLATFORM
}
\
...
@@ -106,12 +94,6 @@ ARG TARGETPLATFORM
...
@@ -106,12 +94,6 @@ ARG TARGETPLATFORM
# Open Container Initiative labels
# Open Container Initiative labels
LABEL
org.opencontainers.image.title="Electron-Ion Collider runtime concretization image (default configuration, $TARGETPLATFORM)"
LABEL
org.opencontainers.image.title="Electron-Ion Collider runtime concretization image (default configuration, $TARGETPLATFORM)"
LABEL
org.opencontainers.image.vendor="Electron-Ion Collider"
LABEL
org.opencontainers.image.authors="Electron-Ion Collider Software Working Groups <eic-software-l-owner@lists.bnl.gov>"
LABEL
org.opencontainers.image.url="https://github.com/eic/containers"
LABEL
org.opencontainers.image.source="https://github.com/eic/containers"
LABEL
org.opencontainers.image.documentation="https://eic.github.io"
LABEL
org.opencontainers.image.license="GPL-3.0-or-later"
## Copy our default environment
## Copy our default environment
COPY
--from=spack-environment . /opt/spack-environment/
COPY
--from=spack-environment . /opt/spack-environment/
...
@@ -134,12 +116,6 @@ ARG TARGETPLATFORM
...
@@ -134,12 +116,6 @@ ARG TARGETPLATFORM
# Open Container Initiative labels
# Open Container Initiative labels
LABEL
org.opencontainers.image.title="Electron-Ion Collider runtime installation image (default configuration, $TARGETPLATFORM)"
LABEL
org.opencontainers.image.title="Electron-Ion Collider runtime installation image (default configuration, $TARGETPLATFORM)"
LABEL
org.opencontainers.image.vendor="Electron-Ion Collider"
LABEL
org.opencontainers.image.authors="Electron-Ion Collider Software Working Groups <eic-software-l-owner@lists.bnl.gov>"
LABEL
org.opencontainers.image.url="https://github.com/eic/containers"
LABEL
org.opencontainers.image.source="https://github.com/eic/containers"
LABEL
org.opencontainers.image.documentation="https://eic.github.io"
LABEL
org.opencontainers.image.license="GPL-3.0-or-later"
# Installation (default environment, from buildcache)
# Installation (default environment, from buildcache)
RUN
--mount
=
type
=
cache,target
=
/var/cache/spack
\
RUN
--mount
=
type
=
cache,target
=
/var/cache/spack
\
...
@@ -164,12 +140,6 @@ ARG TARGETPLATFORM
...
@@ -164,12 +140,6 @@ ARG TARGETPLATFORM
# Open Container Initiative labels
# Open Container Initiative labels
LABEL
org.opencontainers.image.title="Electron-Ion Collider build concretization image (custom configuration, $TARGETPLATFORM)"
LABEL
org.opencontainers.image.title="Electron-Ion Collider build concretization image (custom configuration, $TARGETPLATFORM)"
LABEL
org.opencontainers.image.vendor="Electron-Ion Collider"
LABEL
org.opencontainers.image.authors="Electron-Ion Collider Software Working Groups <eic-software-l-owner@lists.bnl.gov>"
LABEL
org.opencontainers.image.url="https://github.com/eic/containers"
LABEL
org.opencontainers.image.source="https://github.com/eic/containers"
LABEL
org.opencontainers.image.documentation="https://eic.github.io"
LABEL
org.opencontainers.image.license="GPL-3.0-or-later"
## 2. Setup our environment with custom versions (on top of cached layer)
## 2. Setup our environment with custom versions (on top of cached layer)
## Note: these default versions are just the very first commit.
## Note: these default versions are just the very first commit.
...
@@ -219,12 +189,6 @@ ARG TARGETPLATFORM
...
@@ -219,12 +189,6 @@ ARG TARGETPLATFORM
# Open Container Initiative labels
# Open Container Initiative labels
LABEL
org.opencontainers.image.title="Electron-Ion Collider build installation image (custom configuration, $TARGETPLATFORM)"
LABEL
org.opencontainers.image.title="Electron-Ion Collider build installation image (custom configuration, $TARGETPLATFORM)"
LABEL
org.opencontainers.image.vendor="Electron-Ion Collider"
LABEL
org.opencontainers.image.authors="Electron-Ion Collider Software Working Groups <eic-software-l-owner@lists.bnl.gov>"
LABEL
org.opencontainers.image.url="https://github.com/eic/containers"
LABEL
org.opencontainers.image.source="https://github.com/eic/containers"
LABEL
org.opencontainers.image.documentation="https://eic.github.io"
LABEL
org.opencontainers.image.license="GPL-3.0-or-later"
# Installation (custom environment)
# Installation (custom environment)
RUN
--mount
=
type
=
cache,target
=
/ccache,id
=
${
TARGETPLATFORM
}
\
RUN
--mount
=
type
=
cache,target
=
/ccache,id
=
${
TARGETPLATFORM
}
\
...
@@ -263,12 +227,6 @@ ARG TARGETPLATFORM
...
@@ -263,12 +227,6 @@ ARG TARGETPLATFORM
# Open Container Initiative labels
# Open Container Initiative labels
LABEL
org.opencontainers.image.title="Electron-Ion Collider runtime concretization image (custom configuration, $TARGETPLATFORM)"
LABEL
org.opencontainers.image.title="Electron-Ion Collider runtime concretization image (custom configuration, $TARGETPLATFORM)"
LABEL
org.opencontainers.image.vendor="Electron-Ion Collider"
LABEL
org.opencontainers.image.authors="Electron-Ion Collider Software Working Groups <eic-software-l-owner@lists.bnl.gov>"
LABEL
org.opencontainers.image.url="https://github.com/eic/containers"
LABEL
org.opencontainers.image.source="https://github.com/eic/containers"
LABEL
org.opencontainers.image.documentation="https://eic.github.io"
LABEL
org.opencontainers.image.license="GPL-3.0-or-later"
COPY
--from=builder_installation_custom \
COPY
--from=builder_installation_custom \
/opt/spack-environment/${ENV}/spack.* \
/opt/spack-environment/${ENV}/spack.* \
...
@@ -287,12 +245,6 @@ ARG TARGETPLATFORM
...
@@ -287,12 +245,6 @@ ARG TARGETPLATFORM
# Open Container Initiative labels
# Open Container Initiative labels
LABEL
org.opencontainers.image.title="Electron-Ion Collider runtime installation image (custom configuration, $TARGETPLATFORM)"
LABEL
org.opencontainers.image.title="Electron-Ion Collider runtime installation image (custom configuration, $TARGETPLATFORM)"
LABEL
org.opencontainers.image.vendor="Electron-Ion Collider"
LABEL
org.opencontainers.image.authors="Electron-Ion Collider Software Working Groups <eic-software-l-owner@lists.bnl.gov>"
LABEL
org.opencontainers.image.url="https://github.com/eic/containers"
LABEL
org.opencontainers.image.source="https://github.com/eic/containers"
LABEL
org.opencontainers.image.documentation="https://eic.github.io"
LABEL
org.opencontainers.image.license="GPL-3.0-or-later"
# Installation (default environment, from buildcache)
# Installation (default environment, from buildcache)
RUN
--mount
=
type
=
cache,target
=
/var/cache/spack
\
RUN
--mount
=
type
=
cache,target
=
/var/cache/spack
\
...
@@ -322,12 +274,6 @@ ARG TARGETPLATFORM
...
@@ -322,12 +274,6 @@ ARG TARGETPLATFORM
# Open Container Initiative labels
# Open Container Initiative labels
LABEL
org.opencontainers.image.title="Electron-Ion Collider runtime installation image (custom configuration, $TARGETPLATFORM)"
LABEL
org.opencontainers.image.title="Electron-Ion Collider runtime installation image (custom configuration, $TARGETPLATFORM)"
LABEL
org.opencontainers.image.vendor="Electron-Ion Collider"
LABEL
org.opencontainers.image.authors="Electron-Ion Collider Software Working Groups <eic-software-l-owner@lists.bnl.gov>"
LABEL
org.opencontainers.image.url="https://github.com/eic/containers"
LABEL
org.opencontainers.image.source="https://github.com/eic/containers"
LABEL
org.opencontainers.image.documentation="https://eic.github.io"
LABEL
org.opencontainers.image.license="GPL-3.0-or-later"
## Create views at /opt/local and /opt/detector
## Create views at /opt/local and /opt/detector
RUN
<<
EOF
RUN
<<
EOF
...
...
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