Skip to content

Commit

Permalink
Merge pull request #54 from RedHatInsights/missing_repo_license
Browse files Browse the repository at this point in the history
Adding the LICENSE of the rhproxy-engine github repo in the container
  • Loading branch information
abellotti authored Nov 12, 2024
2 parents 3d3a6a0 + 33fa93b commit 8ccb660
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ RUN microdnf install -y\
perl

# Let's copy the patched NGINX source to build
COPY LICENSE ${APP_ROOT}/.
COPY src ${APP_HOME}

RUN cd /opt/app-root/src/nginx-${NGINX_VERSION}/ \
Expand Down Expand Up @@ -168,6 +169,7 @@ RUN mkdir -p ${APP_RHPROXY_ENV}
# Let's stash our licenses in the proper directory
RUN mkdir -p ${APP_LICENSES}/nginx
RUN mkdir -p ${APP_LICENSES}/ngx_http_proxy_connect_module
COPY --from=build ${APP_ROOT}/LICENSE ${APP_LICENSES}/.
COPY --from=build ${APP_ROOT}/src/nginx-${NGINX_VERSION}/LICENSE ${APP_LICENSES}/nginx/.
COPY --from=build ${APP_ROOT}/src/ngx_http_proxy_connect_module-${PROXY_CONNECT_MODULE_VERSION}/LICENSE ${APP_LICENSES}/ngx_http_proxy_connect_module/.

Expand Down

0 comments on commit 8ccb660

Please sign in to comment.