forked from telefonicaid/fiware-orion
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,37 +15,33 @@ RUN /tmp/build.sh -b | |
FROM registry.access.redhat.com/ubi8/ubi | ||
|
||
LABEL authors="Ken Zangelin - [email protected], Jose Ignacio Carretero - [email protected]" \ | ||
description="Orion-LD is a Context Broker which supports both the NGSI-LD and the NGSI-v2 APIs." \ | ||
description="Orion-LD is an NGSI-LD Context Broker which supports also the NGSI-v2 API." \ | ||
maintainer="[email protected],[email protected]@fiware.org" \ | ||
vendor="FIWARE Foundation e.V." \ | ||
documentation="https://github.com/FIWARE/context.Orion-LD/tree/develop/doc" \ | ||
name="FIWARE Orion-LD" \ | ||
summary="Contains Orion-LD context broker." | ||
|
||
|
||
COPY --from=build-stage /etc/ssl/ /etc/ssl/ | ||
RUN true | ||
COPY --from=build-stage /usr/bin/orionld /usr/bin | ||
COPY --from=build-stage /usr/local/lib/* /usr/lib64/ | ||
COPY --from=build-stage /usr/local/lib64/* /usr/lib64/ | ||
COPY --from=build-stage /opt/orion/ldcontexts/ /opt/orion/ldcontexts/ | ||
COPY --from=build-stage /usr/lib64/libtinyxml2.so.6 /usr/lib64/ | ||
COPY --from=build-stage /usr/lib64/libtinyxml2.so /usr/lib64/ | ||
COPY --from=build-stage /usr/lib64/libyaml-cpp.so.0.6 /usr/lib64/ | ||
COPY --from=build-stage /usr/lib64/libyaml-cpp.so /usr/lib64/ | ||
|
||
COPY docker/other-places.repo /etc/yum.repos.d/ | ||
COPY docker/ubi.repo /etc/yum.repos.d/ | ||
|
||
COPY ./docker/subscription-manager.conf /etc/yum/pluginconf.d/subscription-manager.conf | ||
|
||
RUN cd /etc/pki/rpm-gpg && \ | ||
curl -O https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux && \ | ||
yum -y --nogpgcheck install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm && \ | ||
dnf -y module disable postgresql && \ | ||
yum install -y libicu libpq5 boost && \ | ||
yum -y --nogpgcheck install epel-release && \ | ||
dnf config-manager --set-enabled powertools && \ | ||
yum install -y libicu libpq5 boost tinyxml2 yaml-cpp && \ | ||
yum clean all | ||
|
||
|
||
ENTRYPOINT ["orionld", "-fg", "-multiservice", "-ngsiv1Autocast"] | ||
|
||
EXPOSE 1026 |