Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
docker-makefile-sample
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sample
docker-makefile-sample
Commits
164bbc57
Commit
164bbc57
authored
Apr 11, 2019
by
Chavee Issariyapat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add make env-snippet
parent
93c3feee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
+9
-1
Makefile
+9
-1
No files found.
Makefile
View file @
164bbc57
# a helper shell script
# a helper shell script
MAKE_VERSION
=
1.1.
3
MAKE_VERSION
=
1.1.
4
define
MAKEFUNCTIONCODE
define
MAKEFUNCTIONCODE
function
hasChanges()
{
function
hasChanges()
{
...
@@ -229,3 +229,11 @@ delete-docker-image:
...
@@ -229,3 +229,11 @@ delete-docker-image:
# || true to force exoit code to 0 otherwise if no line matched, make will show some error
# || true to force exoit code to 0 otherwise if no line matched, make will show some error
list-docker-image
:
list-docker-image
:
@
docker images |
grep
$(RMI_ARGS)
||
true
@
docker images |
grep
$(RMI_ARGS)
||
true
env-snippet
:
@
jq
-r
'..|select(type=="string") + "="'
config/custom-environment-variables.json
>
_temp_file_.env
@
keg
-s
nexpieconfig _temp_file_.env
>
/dev/null
@
cat
env-snippet-nexpieconfig.yaml
@
rm _temp_file_.env
@
rm nexpieconfig.yaml
@
rm env-snippet-nexpieconfig.yaml
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