Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UDR
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-UDR
Commits
8ffec525
Commit
8ffec525
authored
Jul 21, 2021
by
Mohammed Ismail
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated to check for mysql is ready
Signed-off-by:
Mohammed Ismail
<
mohammed.ismail@openairinterface.org
>
parent
74c5e46e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
0 deletions
+20
-0
ci-scripts/docker/Dockerfile.ci.ubuntu.18.04
ci-scripts/docker/Dockerfile.ci.ubuntu.18.04
+5
-0
docker/Dockerfile.udr.rhel8
docker/Dockerfile.udr.rhel8
+5
-0
docker/Dockerfile.udr.ubuntu18
docker/Dockerfile.udr.ubuntu18
+5
-0
scripts/entrypoint.sh
scripts/entrypoint.sh
+5
-0
No files found.
ci-scripts/docker/Dockerfile.ci.ubuntu.18.04
View file @
8ffec525
...
...
@@ -34,6 +34,10 @@ WORKDIR /openair-udr
COPY . /openair-udr
RUN cp -Rf /openair-udr-ext-ref /openair-udr/build/ext
# wait for it
WORKDIR /
RUN git clone https://github.com/vishnubob/wait-for-it.git
# Building UDR
WORKDIR /openair-udr/build/scripts
RUN ./build_udr --clean --Verbose --build-type Release --jobs
...
...
@@ -68,6 +72,7 @@ RUN apt-get update && \
WORKDIR /openair-udr/bin
COPY --from=oai-udr-builder /openair-udr/build/udr/build/udr oai_udr
COPY --from=oai-udr-builder /openair-udr/scripts/entrypoint.sh .
COPY --from=oai-udr-builder /wait-for-it/wait-for-it.sh .
COPY --from=oai-udr-builder /usr/local/lib/libpistache.so /usr/local/lib/
RUN ldconfig
...
...
docker/Dockerfile.udr.rhel8
View file @
8ffec525
...
...
@@ -61,6 +61,10 @@ RUN /bin/bash -c "if [[ -v NEEDED_GIT_PROXY ]]; then git config --global http.pr
WORKDIR /openair-udr
COPY . /openair-udr
# wait for it
WORKDIR /
RUN git clone https://github.com/vishnubob/wait-for-it.git
# Installing and Building UDR
WORKDIR /openair-udr/build/scripts
RUN ./build_udr --install-deps --force
...
...
@@ -94,6 +98,7 @@ RUN yum update -y && \
WORKDIR /openair-udr/bin
COPY --from=oai-udr-builder /openair-udr/build/udr/build/udr oai_udr
COPY --from=oai-udr-builder /openair-udr/scripts/entrypoint.sh .
COPY --from=oai-udr-builder /wait-for-it/wait-for-it.sh .
WORKDIR /usr/local/lib64
COPY --from=oai-udr-builder /usr/local/lib64/libpistache.so.0 .
...
...
docker/Dockerfile.udr.ubuntu18
View file @
8ffec525
...
...
@@ -50,6 +50,10 @@ RUN /bin/bash -c "if [[ -v NEEDED_GIT_PROXY ]]; then git config --global http.pr
WORKDIR /openair-udr
COPY . /openair-udr
# wait for it
WORKDIR /
RUN git clone https://github.com/vishnubob/wait-for-it.git
# Installing and Building UDR
WORKDIR /openair-udr/build/scripts
RUN ./build_udr --install-deps --force
...
...
@@ -85,6 +89,7 @@ RUN apt-get update && \
WORKDIR /openair-udr/bin
COPY --from=oai-udr-builder /openair-udr/build/udr/build/udr oai_udr
COPY --from=oai-udr-builder /openair-udr/scripts/entrypoint.sh .
COPY --from=oai-udr-builder /wait-for-it/wait-for-it.sh .
COPY --from=oai-udr-builder /usr/local/lib/libpistache.so /usr/local/lib/
RUN ldconfig
...
...
scripts/entrypoint.sh
View file @
8ffec525
...
...
@@ -27,4 +27,9 @@ for c in ${CONFIG_DIR}/*.conf; do
sed
-i
"
${
EXPRESSIONS
}
"
${
c
}
done
# check the mysql is ready
pushd
/openair-udr/bin
./wait-for-it.sh
${
MYSQL_IPV4_ADDRESS
}
:3306
-t
60
popd
exec
"
$@
"
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