Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF-Simple
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
Operations
Operations
Metrics
Environments
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
CommunityXG
OpenXG-SMF-Simple
Commits
2ff8a8ae
Commit
2ff8a8ae
authored
Mar 04, 2021
by
sagar arora
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dockerfile tzdata
parent
1f267d78
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
19 deletions
+1
-19
docker/Dockerfile.smf.rhel8.2
docker/Dockerfile.smf.rhel8.2
+1
-2
docker/Dockerfile.ubuntu.18.04
docker/Dockerfile.ubuntu.18.04
+0
-9
scripts/entrypoint.sh
scripts/entrypoint.sh
+0
-8
No files found.
docker/Dockerfile.smf.rhel8.2
View file @
2ff8a8ae
...
...
@@ -112,7 +112,6 @@ WORKDIR /openair-smf
#EXPOSE 80/tcp 9090/tcp 8805/udp
CMD ["/openair-smf/bin/oai_smf", "-c", "/openair-smf/etc/smf.conf", "-o"]
ENTRYPOINT ["/openair-smf/bin/entrypoint.sh"]
#CMD ["sleep", "infinity"]
docker/Dockerfile.ubuntu.18.04
View file @
2ff8a8ae
...
...
@@ -91,15 +91,6 @@ COPY --from=oai-smf-builder /openair-smf/etc/smf.conf .
WORKDIR /openair-smf
<<<<<<< HEAD:docker/Dockerfile.ubuntu.18.04
ENTRYPOINT ["/bin/bash","/openair-smf/bin/entrypoint.sh"]
CMD ["/openair-smf/bin/oai_smf", "-c", "/openair-smf/etc/smf.conf", "-o"]
=======
# expose ports
EXPOSE 80/tcp 9090/tcp 8805/udp
ENTRYPOINT ["/bin/bash","/openair-smf/bin/entrypoint.sh"]
CMD ["/openair-smf/bin/oai_smf", "-c", "/openair-smf/etc/smf.conf", "-o"]
>>>>>>> 2409d789898b1ac60fcc6f7d0e2a67cafb66f3ba:docker/Dockerfile.ubuntu.18.04
scripts/entrypoint.sh
View file @
2ff8a8ae
...
...
@@ -13,11 +13,7 @@ for c in ${CONFIG_DIR}/*.conf; do
# with the value of the environment variable "VAR"
EXPRESSIONS
=
""
for
v
in
${
VARS
}
;
do
<<<<<<
< HEAD
NEW_VAR
=
`
echo
$v
|
sed
-e
"s#@##g"
`
=======
NEW_VAR
=
`
echo
$v
|
sed
-e
"s#@##g"
`
>>>>>>>
2409d789898b1ac60fcc6f7d0e2a67cafb66f3ba
if
[[
-z
${
!NEW_VAR+x
}
]]
;
then
echo
"Error: Environment variable '
${
NEW_VAR
}
' is not set."
\
"Config file '
$(
basename
$c
)
' requires all of
$VARS
."
...
...
@@ -31,8 +27,4 @@ for c in ${CONFIG_DIR}/*.conf; do
sed
-i
"
${
EXPRESSIONS
}
"
${
c
}
done
echo
"Done setting the configuration"
<<<<<<
< HEAD
exec
"
$@
"
=======
exec
"
$@
"
>>>>>>>
2409d789898b1ac60fcc6f7d0e2a67cafb66f3ba
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