Skip to content

Commit

Permalink
Issue #1231: use scripts/nginx as the build context
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Sep 21, 2021
1 parent 554a29a commit 59897d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions otobo.nginx-kerberos.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is the build file for the OTOBO nginx docker image including Kerberos Single Sign On tools.
# This is the build file for the OTOBO nginx Docker image including Kerberos Single Sign On tools.

# See also bin/docker/build_docker_images.sh
# See bin/docker/build_docker_images.sh for how to create local builds.
# See also https://doc.otobo.org/manual/installation/stable/en/content/installation-docker.html

# I have found no better way than to first compile NGINX in a BUILDER container and then copy the
Expand Down Expand Up @@ -98,8 +98,8 @@ RUN mv conf.d/default.conf conf.d/default.conf.hidden

# new nginx config, will be modified by /docker-entrypoint.d/20-envsubst-on-templates.sh
# See 'Using environment variables in nginx configuration' in https://hub.docker.com/_/nginx
COPY scripts/nginx/templates/ templates
COPY scripts/nginx/snippets/ snippets
COPY templates/ templates
COPY snippets/ snippets

# Copy text to line 4 - load Kerberos module in nginx.conf
RUN sed '4 i\load_module modules/ngx_http_auth_spnego_module.so;' -i /etc/nginx/nginx.conf
Expand Down

0 comments on commit 59897d1

Please sign in to comment.