Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
ngx_http_voms_module
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Federico Fornari
ngx_http_voms_module
Commits
c66ca106
Commit
c66ca106
authored
2 years ago
by
lcappelli
Browse files
Options
Downloads
Patches
Plain Diff
Install ngx-httpg and voms rpm in a new container
parent
e3aef219
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.env
+1
-1
1 addition, 1 deletion
.env
.gitlab-ci.yml
+6
-2
6 additions, 2 deletions
.gitlab-ci.yml
docker/Dockerfile
+4
-3
4 additions, 3 deletions
docker/Dockerfile
with
11 additions
and
6 deletions
.env
+
1
−
1
View file @
c66ca106
DOCKER_IMAGE=storm2/
vanilla-nginx
-voms
DOCKER_IMAGE=storm2/
nginx-httpg
-voms
DOCKER_VERBOSE=y
DOCKER_GIT_TAG_ENABLED=y
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
6
−
2
View file @
c66ca106
...
...
@@ -45,5 +45,9 @@ build-ngx-httpg-container:
-
apk add git bash
-
git clone https://baltig.infn.it/mw-devel/helper-scripts.git helper-scripts
-
cp helper-scripts/scripts/* /usr/local/bin
-
cp ${CI_PROJECT_DIR}/ngx-artifacts/* ${CI_PROJECT_DIR}/docker/
-
cp ${CI_PROJECT_DIR}/voms-artifacts/* ${CI_PROJECT_DIR}/docker/
-
cp ${CI_PROJECT_DIR}/ngx-artifacts/nginx-1.22.1-1.el7.ngx.x86_64.rpm ${CI_PROJECT_DIR}/docker/
-
cp ${CI_PROJECT_DIR}/voms-artifacts/nginx-module-http-voms-1.22.1-1.el7.x86_64.rpm ${CI_PROJECT_DIR}/docker/
-
docker login -u gitlab-ci-token -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
-
export DOCKER_REGISTRY_HOST=${CI_REGISTRY}
-
export DOCKER_REGISTRY_NAMESPACE=${CI_PROJECT_PATH}
-
build-docker-image.sh && push-docker-image.sh
This diff is collapsed.
Click to expand it.
docker/Dockerfile
+
4
−
3
View file @
c66ca106
...
...
@@ -16,9 +16,10 @@ RUN yum update -y && \
mkdir
/pkgs
&&
\
yum clean all
&&
rm
-rf
/var/cache/yum
# install nginx with patch for HTTPG and voms module
COPY
ngx-artifacts/*.rpm /pkgs/
COPY
voms-artifacts/*.rpm /pkgs/
# install nginx with patch for HTTPG and voms dynamic module
COPY
*.rpm /pkgs/
RUN
rpm
-ivh
/pkgs/nginx-1.22.1-1.el7.ngx.x86_64.rpm
&&
\
rpm
-ivh
/pkgs/nginx-module-http-voms-1.22.1-1.el7.x86_64.rpm
# import test
COPY
t /home/nginx/t
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment