Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sygal-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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
docker
sygal-image
Commits
b0fde0e7
Commit
b0fde0e7
authored
Dec 15, 2021
by
Bertrand Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
README : exemple pour PHP 7.4
parent
6e9ece24
No related branches found
No related tags found
No related merge requests found
Pipeline
#11882
failed
Dec 15, 2021
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+3
-3
3 additions, 3 deletions
README.md
with
3 additions
and
3 deletions
README.md
+
3
−
3
View file @
b0fde0e7
...
...
@@ -11,9 +11,9 @@ cd sygal-image
Construisez l'image pour la version de PHP désirée...
Exemple pour PHP 7.
3
:
Exemple pour PHP 7.
4
:
```
bash
PHP_VERSION
=
7.
3
;
\
PHP_VERSION
=
7.
4
;
\
docker build
\
--rm
\
--build-arg
PHP_VERSION
=
${
PHP_VERSION
}
\
...
...
@@ -24,7 +24,7 @@ docker build \
**Attention !**
Si vous êtes derrière un proxy, vous pouvez transmettre les valeurs courantes de vos variables d'environement
`*_proxy`
à la commande
`build`
avec des
`--build-arg`
additionnels, exemple :
```
bash
PHP_VERSION
=
7.
3
;
\
PHP_VERSION
=
7.
4
;
\
docker build
\
--rm
\
--build-arg
PHP_VERSION
=
${
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