Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-NRF
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
OpenXG
OpenXG-NRF
Commits
c4970890
Commit
c4970890
authored
Feb 08, 2021
by
sagar arora
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dockerfile as convention
parent
8d581dc5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
docker/Dockerfile.ubuntu18.04
docker/Dockerfile.ubuntu18.04
+4
-3
docker/entrypoint.sh
docker/entrypoint.sh
+0
-2
No files found.
docker/Dockerfile.ubuntu18.04
View file @
c4970890
...
@@ -63,18 +63,19 @@ COPY --from=oai-nrf-builder /usr/local/lib/libpistache.so /usr/local/lib/
...
@@ -63,18 +63,19 @@ COPY --from=oai-nrf-builder /usr/local/lib/libpistache.so /usr/local/lib/
COPY --from=oai-nrf-builder /usr/local/lib/libnghttp2_asio.so.1 /usr/local/lib/
COPY --from=oai-nrf-builder /usr/local/lib/libnghttp2_asio.so.1 /usr/local/lib/
COPY --from=oai-nrf-builder /usr/lib/x86_64-linux-gnu/libboost_system.so.1.65.1 /usr/lib/x86_64-linux-gnu/
COPY --from=oai-nrf-builder /usr/lib/x86_64-linux-gnu/libboost_system.so.1.65.1 /usr/lib/x86_64-linux-gnu/
COPY --from=oai-nrf-builder /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.65.1 /usr/lib/x86_64-linux-gnu/
COPY --from=oai-nrf-builder /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.65.1 /usr/lib/x86_64-linux-gnu/
COPY --from=oai-nrf-builder /openair-nrf/docker/entrypoint.sh entrypoint.sh
RUN ldconfig
RUN ldconfig
# Copying template configuration files
# Copying template configuration files
COPY --from=oai-nrf-builder /openair-nrf/etc/nrf.conf /openair-nrf/etc/
COPY --from=oai-nrf-builder /openair-nrf/etc/nrf.conf /openair-nrf/etc/
COPY --from=oai-nrf-builder /openair-nrf/docker/entrypoint.sh /openair-nrf/
WORKDIR /openair-nrf
WORKDIR /openair-nrf
EXPOSE 8080/tcp 9090/tcp
EXPOSE 8080/tcp 9090/tcp
RUN chmod +x entrypoint.sh
# Temporary can be removed but in some-scenarioes it is safe to keep it.
RUN chmod +x /openair-nrf/bin/entrypoint.sh
CMD ["/openair-nrf/bin/oai_nrf", "-c", "/openair-nrf/etc/nrf.conf", "-o"]
CMD ["/openair-nrf/bin/oai_nrf", "-c", "/openair-nrf/etc/nrf.conf", "-o"]
ENTRYPOINT ["/bin/bash","entrypoint.sh"]
ENTRYPOINT ["/bin/bash","/openair-nrf/bin/entrypoint.sh"]
\ No newline at end of file
\ No newline at end of file
docker/entrypoint.sh
View file @
c4970890
...
@@ -7,9 +7,7 @@
...
@@ -7,9 +7,7 @@
#!/bin/bash
#!/bin/bash
set
-euo
pipefail
set
-euo
pipefail
CONFIG_DIR
=
"/openair-nrf/etc"
CONFIG_DIR
=
"/openair-nrf/etc"
PUSH_PROTOCOL_OPTION
=
${
PUSH_PROTOCOL_OPTION
:-
no
}
for
c
in
${
CONFIG_DIR
}
/
*
.conf
;
do
for
c
in
${
CONFIG_DIR
}
/
*
.conf
;
do
# grep variable names (format: ${VAR}) from template to be rendered
# grep variable names (format: ${VAR}) from template to be rendered
...
...
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