Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
e62662e4
Commit
e62662e4
authored
Aug 08, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct entitlements in base Dockerfile
parent
e2c59441
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
ci-scripts/cls_containerize.py
ci-scripts/cls_containerize.py
+4
-3
docker/Dockerfile.base.rhel8.2
docker/Dockerfile.base.rhel8.2
+6
-2
No files found.
ci-scripts/cls_containerize.py
View file @
e62662e4
...
...
@@ -215,9 +215,10 @@ class Containerize():
# if asterix, copy the entitlement and subscription manager configurations
if
self
.
host
==
'Red Hat'
:
mySSH
.
command
(
'mkdir -p tmp/ca/ tmp/entitlement/'
,
'\$'
,
5
)
mySSH
.
command
(
'sudo cp /etc/rhsm/ca/redhat-uep.pem tmp/ca/'
,
'\$'
,
5
)
mySSH
.
command
(
'sudo cp /etc/pki/entitlement/*.pem tmp/entitlement/'
,
'\$'
,
5
)
mySSH
.
command
(
'mkdir -p ./etc-pki-entitlement ./rhsm-conf ./rhsm-ca'
,
'\$'
,
5
)
mySSH
.
command
(
'sudo cp /etc/rhsm/rhsm.conf ./rhsm-conf/'
,
'\$'
,
5
)
mySSH
.
command
(
'sudo cp /etc/rhsm/ca/redhat-uep.pem ./rhsm-ca/'
,
'\$'
,
5
)
mySSH
.
command
(
'sudo cp /etc/pki/entitlement/*.pem ./etc-pki-entitlement/'
,
'\$'
,
5
)
baseImage
=
'ran-base'
baseTag
=
'develop'
...
...
docker/Dockerfile.base.rhel8.2
View file @
e62662e4
...
...
@@ -32,8 +32,12 @@ ENV TZ=Europe/Paris
ENV BUILD_UHD_FROM_SOURCE=True
ENV UHD_VERSION=3.15.0.0
COPY tmp/ca/redhat-uep.pem /etc/rhsm/ca
COPY tmp/entitlement/*.pem /etc/pki/entitlement
# Copy the entitlements
COPY ./etc-pki-entitlement /etc/pki/entitlement
# Copy the subscription manager configurations
COPY ./rhsm-conf /etc/rhsm
COPY ./rhsm-ca /etc/rhsm/ca
#install developers pkg/repo
RUN rm -f /etc/rhsm-host && \
...
...
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