Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VEBER Philippe
codepi
Commits
5def9a4b
Commit
5def9a4b
authored
Jun 15, 2018
by
LANORE Vincent
Browse files
Added build_docker script
parent
6eab9f8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
etc/diffsel/build_docker.sh
etc/diffsel/build_docker.sh
+14
-0
No files found.
etc/diffsel/build_docker.sh
0 → 100644
View file @
5def9a4b
#! /bin/bash
set
-e
IMAGE_NAME
=
diffsel
DOCKERFILE_DIR
=
.
TAG
=
v1.0
REPO
=
vlanore/
$IMAGE_NAME
:
$TAG
docker build
-t
$REPO
-f
./Dockerfile
$DOCKERFILE_DIR
if
[[
$1
==
"push_yes"
]]
then
docker push
$REPO
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment