Commit 2ff8a8ae authored by sagar arora's avatar sagar arora

dockerfile tzdata

parent 1f267d78
......@@ -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"]
#CMD ["sleep", "infinity"]
\ No newline at end of file
......@@ -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
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment