Skip to content
Snippets Groups Projects

ngx-voms docker image

Merged Andrea Ceccanti requested to merge issue-13 into master
4 unresolved threads

This commit introduces the ngx-voms docker image, and modifies the CI configuration to build the image.

Edited by Andrea Ceccanti

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
docker/Dockerfile 0 → 100644
13
14 RUN \
15 touch /home/build/local/openresty/nginx/logs/access.log && \
16 touch /home/build/local/openresty/nginx/logs/error.log && \
17 ln -sf /dev/stdout /home/build/local/openresty/nginx/logs/access.log && \
18 ln -sf /dev/stderr /home/build/local/openresty/nginx/logs/error.log
19
20 COPY assets/nginx.conf /home/build/local/openresty/nginx/conf/nginx.conf
21 COPY assets/srm.conf /etc/nginx/conf.d/
22
23 USER root
24
25 # Embed TINI since compose v3 syntax do not support the init
26 # option to run docker --init
27 #
28 ENV TINI_VERSION v0.18.0
  • docker/README.md 0 → 100644
    1 This folder contains docker files for the VOMS ngx_http_voms_module.
  • 27 proxy_set_header X-Forwarded-Proto https;
    28 proxy_set_header Host $http_host;
    29
    30 # Simple tracing via request_id
    31 proxy_set_header X-Request-Id $request_id;
    32
    33 # VOMS headers
    34 proxy_set_header x-voms_fqans $voms_fqans;
    35 proxy_set_header x-voms_user $voms_user;
    36 proxy_set_header x-voms_user_ca $voms_user_ca;
    37 proxy_set_header x-voms_vo $voms_vo;
    38 proxy_set_header x-voms_not_before $voms_not_before;
    39 proxy_set_header x-voms_not_after $voms_not_after;
    40 proxy_set_header x-voms_generic_attributes $voms_generic_attributes;
    41 proxy_set_header x-voms_serial $voms_serial;
    42 }
  • 1 # This file is a template, and might need editing before it works on your project.
    2 # Official docker image.
    3 1 image: storm2/ngx-voms-build:latest
    4 2
    5 3 stages:
    6 4 - build
    7 5 - test
    6 - docker-build
  • Andrea Ceccanti added 2 commits

    added 2 commits

    • e5611c1f - Include additional variables in default conf
    • 9f078b49 - Minor improvements to documentation

    Compare with previous version

  • Andrea Ceccanti unmarked as a Work In Progress

    unmarked as a Work In Progress

  • Andrea Ceccanti changed the description

    changed the description

  • Andrea Ceccanti mentioned in commit 08c398a9

    mentioned in commit 08c398a9

  • Please register or sign in to reply
    Loading