1234567891011121314151617181920212223242526 |
- # From docker.io/library/nginx:1.14.0
- FROM nginx:stable-alpine3.17
- # FROM nginx:1.24.0
- # RUN apt-get update ; apt-get install unzip
- COPY nginx/nginx.conf /etc/nginx/nginx.conf
- # ADD https://github.com/open-telemetry/opentelemetry-cpp-contrib/releases/download/webserver%2Fv1.0.4/opentelemetry-webserver-sdk-x64-linux.tgz /opt/opentelemetry-webserver-sdk-x64-linux.tgz.zip
- # ADD https://github.com/open-telemetry/opentelemetry-cpp-contrib/releases/download/webserver%2Fv1.1.0/opentelemetry-webserver-sdk-x64-linux.tgz /opt
- # RUN cd /opt ; unzip opentelemetry-webserver-sdk-x64-linux.tgz.zip ; tar xvfz opentelemetry-webserver-sdk-x64-linux.tgz
- # RUN cd /opt/opentelemetry-webserver-sdk; ./install.sh
- # ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/opentelemetry-webserver-sdk/sdk_lib/lib
- # RUN echo "load_module /opt/opentelemetry-webserver-sdk/WebServerModule/Nginx/1.24.0/ngx_http_opentelemetry_module.so;$(cat /etc/nginx/nginx.conf)" > /etc/nginx/nginx.conf
- #COPY nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
- #COPY nginx/conf.d/obui.conf /etc/nginx/conf.d/obui.conf
- #COPY nginx/obf.conf /etc/nginx/conf.d/obf.conf
- #COPY grafana.conf /etc/nginx/conf.d/grafana.conf
- #COPY cecfweb.conf /etc/nginx/conf.d/cecfweb.conf
- #COPY halo.conf /etc/nginx/conf.d/halo.conf
- COPY nginx/conf.d /etc/nginx/conf.d
- # COPY 404.html /usr/share/nginx/html/404.html
|