Dockerfile 1.3 KB

1234567891011121314151617181920212223242526
  1. # From docker.io/library/nginx:1.14.0
  2. FROM nginx:stable-alpine3.17
  3. # FROM nginx:1.24.0
  4. # RUN apt-get update ; apt-get install unzip
  5. COPY nginx/nginx.conf /etc/nginx/nginx.conf
  6. # 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
  7. # ADD https://github.com/open-telemetry/opentelemetry-cpp-contrib/releases/download/webserver%2Fv1.1.0/opentelemetry-webserver-sdk-x64-linux.tgz /opt
  8. # RUN cd /opt ; unzip opentelemetry-webserver-sdk-x64-linux.tgz.zip ; tar xvfz opentelemetry-webserver-sdk-x64-linux.tgz
  9. # RUN cd /opt/opentelemetry-webserver-sdk; ./install.sh
  10. # ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/opentelemetry-webserver-sdk/sdk_lib/lib
  11. # 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
  12. #COPY nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
  13. #COPY nginx/conf.d/obui.conf /etc/nginx/conf.d/obui.conf
  14. #COPY nginx/obf.conf /etc/nginx/conf.d/obf.conf
  15. #COPY grafana.conf /etc/nginx/conf.d/grafana.conf
  16. #COPY cecfweb.conf /etc/nginx/conf.d/cecfweb.conf
  17. #COPY halo.conf /etc/nginx/conf.d/halo.conf
  18. COPY nginx/conf.d /etc/nginx/conf.d
  19. # COPY 404.html /usr/share/nginx/html/404.html