Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sygal-import-ws-image
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
open-source
docker
sygal-import-ws-image
Commits
275f7431
Commit
275f7431
authored
2 years ago
by
Bertrand Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
Version du driver OCI à installer spécifiée via une variable d'env
parent
eb5066aa
Branches
Branches containing commit
Tags
1.0.0
Tags containing commit
No related merge requests found
Pipeline
#18526
passed
2 years ago
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+4
-0
4 additions, 0 deletions
.gitlab-ci.yml
Dockerfile
+2
-1
2 additions, 1 deletion
Dockerfile
with
6 additions
and
1 deletion
.gitlab-ci.yml
+
4
−
0
View file @
275f7431
...
@@ -9,6 +9,7 @@ build7.0:
...
@@ -9,6 +9,7 @@ build7.0:
script
:
script
:
-
export HTTP_PROXY=http://10.14.128.99:3128
-
export HTTP_PROXY=http://10.14.128.99:3128
-
export PHP_VERSION=7.0
-
export PHP_VERSION=7.0
-
export OCI8_PACKAGE="oci8-2.2.0"
-
docker build --rm --build-arg PHP_VERSION=${PHP_VERSION} --build-arg HTTP_PROXY=${HTTP_PROXY} -f Dockerfile -t sygal-import-ws-image-php${PHP_VERSION} .
-
docker build --rm --build-arg PHP_VERSION=${PHP_VERSION} --build-arg HTTP_PROXY=${HTTP_PROXY} -f Dockerfile -t sygal-import-ws-image-php${PHP_VERSION} .
-
docker tag sygal-import-ws-image-php${PHP_VERSION} registre.unicaen.fr:5000/sygal-import-ws-image-php${PHP_VERSION}
-
docker tag sygal-import-ws-image-php${PHP_VERSION} registre.unicaen.fr:5000/sygal-import-ws-image-php${PHP_VERSION}
-
docker push registre.unicaen.fr:5000/sygal-import-ws-image-php${PHP_VERSION}
-
docker push registre.unicaen.fr:5000/sygal-import-ws-image-php${PHP_VERSION}
...
@@ -21,6 +22,7 @@ build7.3:
...
@@ -21,6 +22,7 @@ build7.3:
script
:
script
:
-
export HTTP_PROXY=http://10.14.128.99:3128
-
export HTTP_PROXY=http://10.14.128.99:3128
-
export PHP_VERSION=7.3
-
export PHP_VERSION=7.3
-
export OCI8_PACKAGE="oci8-2.2.0"
-
docker build --rm --build-arg PHP_VERSION=${PHP_VERSION} --build-arg HTTP_PROXY=${HTTP_PROXY} -f Dockerfile -t sygal-import-ws-image-php${PHP_VERSION} .
-
docker build --rm --build-arg PHP_VERSION=${PHP_VERSION} --build-arg HTTP_PROXY=${HTTP_PROXY} -f Dockerfile -t sygal-import-ws-image-php${PHP_VERSION} .
-
docker tag sygal-import-ws-image-php${PHP_VERSION} registre.unicaen.fr:5000/sygal-import-ws-image-php${PHP_VERSION}
-
docker tag sygal-import-ws-image-php${PHP_VERSION} registre.unicaen.fr:5000/sygal-import-ws-image-php${PHP_VERSION}
-
docker push registre.unicaen.fr:5000/sygal-import-ws-image-php${PHP_VERSION}
-
docker push registre.unicaen.fr:5000/sygal-import-ws-image-php${PHP_VERSION}
...
@@ -33,6 +35,7 @@ build7.4:
...
@@ -33,6 +35,7 @@ build7.4:
script
:
script
:
-
export HTTP_PROXY=http://10.14.128.99:3128
-
export HTTP_PROXY=http://10.14.128.99:3128
-
export PHP_VERSION=7.4
-
export PHP_VERSION=7.4
-
export OCI8_PACKAGE="oci8-2.2.0"
-
docker build --rm --build-arg PHP_VERSION=${PHP_VERSION} --build-arg HTTP_PROXY=${HTTP_PROXY} -f Dockerfile -t sygal-import-ws-image-php${PHP_VERSION} .
-
docker build --rm --build-arg PHP_VERSION=${PHP_VERSION} --build-arg HTTP_PROXY=${HTTP_PROXY} -f Dockerfile -t sygal-import-ws-image-php${PHP_VERSION} .
-
docker tag sygal-import-ws-image-php${PHP_VERSION} registre.unicaen.fr:5000/sygal-import-ws-image-php${PHP_VERSION}
-
docker tag sygal-import-ws-image-php${PHP_VERSION} registre.unicaen.fr:5000/sygal-import-ws-image-php${PHP_VERSION}
-
docker push registre.unicaen.fr:5000/sygal-import-ws-image-php${PHP_VERSION}
-
docker push registre.unicaen.fr:5000/sygal-import-ws-image-php${PHP_VERSION}
...
@@ -45,6 +48,7 @@ build8.0:
...
@@ -45,6 +48,7 @@ build8.0:
script
:
script
:
-
export HTTP_PROXY=http://10.14.128.99:3128
-
export HTTP_PROXY=http://10.14.128.99:3128
-
export PHP_VERSION=8.0
-
export PHP_VERSION=8.0
-
export OCI8_PACKAGE="oci8"
-
docker build --rm --build-arg PHP_VERSION=${PHP_VERSION} --build-arg HTTP_PROXY=${HTTP_PROXY} -f Dockerfile -t sygal-import-ws-image-php${PHP_VERSION} .
-
docker build --rm --build-arg PHP_VERSION=${PHP_VERSION} --build-arg HTTP_PROXY=${HTTP_PROXY} -f Dockerfile -t sygal-import-ws-image-php${PHP_VERSION} .
-
docker tag sygal-import-ws-image-php${PHP_VERSION} registre.unicaen.fr:5000/sygal-import-ws-image-php${PHP_VERSION}
-
docker tag sygal-import-ws-image-php${PHP_VERSION} registre.unicaen.fr:5000/sygal-import-ws-image-php${PHP_VERSION}
-
docker push registre.unicaen.fr:5000/sygal-import-ws-image-php${PHP_VERSION}
-
docker push registre.unicaen.fr:5000/sygal-import-ws-image-php${PHP_VERSION}
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
2
−
1
View file @
275f7431
...
@@ -5,13 +5,14 @@
...
@@ -5,13 +5,14 @@
###########################################################################################
###########################################################################################
ARG
PHP_VERSION
ARG
PHP_VERSION
ARG
OCI8_PACKAGE
FROM
unicaen-dev-php${PHP_VERSION}-apache
FROM
unicaen-dev-php${PHP_VERSION}-apache
LABEL
maintainer="Bertrand GAUTHIER <bertrand.gauthier at unicaen.fr>"
LABEL
maintainer="Bertrand GAUTHIER <bertrand.gauthier at unicaen.fr>"
ENV
PHP_VERSION=${PHP_VERSION} \
ENV
PHP_VERSION=${PHP_VERSION} \
OCI8_PACKAGE=
"oci8-2.2.0"
\
OCI8_PACKAGE=
${OCI8_PACKAGE}
\
APACHE_CONF_DIR=/etc/apache2 \
APACHE_CONF_DIR=/etc/apache2 \
PHP_CONF_DIR=/etc/php/${PHP_VERSION}
PHP_CONF_DIR=/etc/php/${PHP_VERSION}
...
...
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