X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=it%2Fotf.git;a=blobdiff_plain;f=dmaap-vth%2FDockerfile;fp=dmaap-vth%2FDockerfile;h=bc5b296f1cbc584ab66026cbb0b82dc4bcbe39b4;hp=0000000000000000000000000000000000000000;hb=e3ba96506390ab3ad630d2dfc4967fd49527615d;hpb=c6475102d3d75ea00d5be548492eba544cf4f535 diff --git a/dmaap-vth/Dockerfile b/dmaap-vth/Dockerfile new file mode 100644 index 0000000..bc5b296 --- /dev/null +++ b/dmaap-vth/Dockerfile @@ -0,0 +1,27 @@ +# Copyright (c) 2019 AT&T Intellectual Property. # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); # +# you may not use this file except in compliance with the License. # +# You may obtain a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +################################################################################ + +FROM python:3.7.4 + +RUN python --version + +ADD pip-requirements.txt pip-requirements.txt +ADD dmaap_vth.py dmaap_vth.py +ADD config.ini config.ini + +RUN mkdir -p /otf/logs + +RUN python -m pip install -r pip-requirements.txt +ENTRYPOINT ["python", "dmaap_vth.py"]