-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #139 from italiangrid/develop
VOMS v. 2.1.0
- Loading branch information
Showing
133 changed files
with
9,150 additions
and
7,326 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM centos:7 | ||
|
||
COPY library-scripts/*.sh /tmp/library-scripts/ | ||
RUN \ | ||
bash /tmp/library-scripts/add-repos-redhat.sh && \ | ||
bash /tmp/library-scripts/common-redhat.sh false automatic automatic automatic true false && \ | ||
bash /tmp/library-scripts/add-deps-redhat.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM almalinux:9 | ||
|
||
COPY library-scripts/*.sh /tmp/library-scripts/ | ||
RUN \ | ||
bash /tmp/library-scripts/add-repos-redhat.sh && \ | ||
bash /tmp/library-scripts/common-redhat.sh false automatic automatic automatic true false && \ | ||
bash /tmp/library-scripts/add-deps-redhat.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/docker-existing-docker-compose | ||
// If you want to run as a non-root user in the container, see .devcontainer/docker-compose.yml. | ||
{ | ||
"name": "VOMS Devel", | ||
|
||
// Update the 'dockerComposeFile' list if you have more compose files or use different names. | ||
// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make. | ||
"dockerComposeFile": [ | ||
"../docker-compose.yml", | ||
"docker-compose.yml" | ||
], | ||
|
||
// The 'service' property is the name of the service for the container that VS Code should | ||
// use. Update this value and .devcontainer/docker-compose.yml to the real service name. | ||
"service": "container-el9", | ||
|
||
// Uncomment the next line if you want start specific services in your Docker Compose config. | ||
"runServices": ["container-el9"], | ||
|
||
// The optional 'workspaceFolder' property is the path VS Code should open by default when | ||
// connected. This is typically a file mount in .devcontainer/docker-compose.yml | ||
"workspaceFolder": "/workspace", | ||
|
||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-vscode.cpptools", | ||
"eamodio.gitlens" | ||
] | ||
} | ||
}, | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Uncomment the next line if you want to keep your containers running after VS Code shuts down. | ||
// "shutdownAction": "none", | ||
|
||
// Uncomment the next line to run commands after the container is created - for example installing curl. | ||
// "postCreateCommand": "apt-get update && apt-get install -y curl", | ||
|
||
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root. | ||
"remoteUser": "vscode" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
|
||
services: | ||
|
||
container-el9: | ||
|
||
environment: | ||
- TZ=Europe/Rome | ||
|
||
depends_on: | ||
- trust | ||
|
||
build: | ||
context: .devcontainer | ||
dockerfile: Dockerfile-el9 | ||
|
||
volumes: | ||
- trustanchors:/etc/grid-security/certificates | ||
- .:/workspace | ||
|
||
cap_add: | ||
- SYS_PTRACE | ||
security_opt: | ||
- seccomp:unconfined | ||
|
||
command: sleep infinity | ||
|
||
init: true | ||
|
||
container-centos7: | ||
|
||
environment: | ||
- TZ=Europe/Rome | ||
|
||
depends_on: | ||
- trust | ||
|
||
build: | ||
context: .devcontainer | ||
dockerfile: Dockerfile-centos7 | ||
|
||
volumes: | ||
- trustanchors:/etc/grid-security/certificates | ||
- .:/workspace | ||
|
||
cap_add: | ||
- SYS_PTRACE | ||
security_opt: | ||
- seccomp:unconfined | ||
|
||
command: sleep infinity | ||
|
||
init: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Copyright (c) Istituto Nazionale di Fisica Nucleare | ||
# Licensed under the EUPL | ||
# | ||
# Syntax: ./add-deps-redhat.sh [install doc tools] | ||
|
||
set -e | ||
|
||
. /etc/os-release | ||
|
||
INSTALL_DOC_TOOLS=${1:-"false"} | ||
|
||
package_list="\ | ||
file \ | ||
gdb \ | ||
expat-devel \ | ||
autoconf \ | ||
automake \ | ||
make \ | ||
libtool \ | ||
openssl-devel \ | ||
gsoap-devel \ | ||
bison \ | ||
gcc-c++" | ||
|
||
if ! type git > /dev/null 2>&1; then | ||
if [ "${ID}" = "centos" ] && [ "${VERSION_ID}" = "7" ]; then | ||
package_list="${package_list} git236" | ||
else | ||
package_list="${package_list} git" | ||
fi | ||
fi | ||
|
||
|
||
if [ ${INSTALL_DOC_TOOLS} = "true" ]; then | ||
package_list="${package_list} \ | ||
libxslt \ | ||
docbook-style-xsl \ | ||
doxygen" | ||
fi | ||
|
||
yum install -y ${package_list} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Copyright (c) Istituto Nazionale di Fisica Nucleare | ||
# Licensed under the EUPL | ||
# | ||
# Syntax: ./add-repos-redhat.sh | ||
|
||
set -e | ||
|
||
. /etc/os-release | ||
|
||
repo_list="epel-release" | ||
|
||
if [ "${ID}" = "centos" ] && [ "${VERSION_ID}" = "7" ]; then | ||
repo_list="${repo_list} https://repo.ius.io/ius-release-el7.rpm" | ||
fi | ||
|
||
yum install -y ${repo_list} |
Oops, something went wrong.