-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build-Script to automate the build process
- Loading branch information
Timo Stark
committed
Apr 27, 2021
1 parent
68e83f0
commit 4ba4e1d
Showing
3 changed files
with
18 additions
and
2 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
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,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "🛠 Building ... " | ||
|
||
docker build -t tippexs/ngxsamlp:latest . | ||
|
||
echo "🧩 Linking ... " | ||
|
||
ID=$(docker create tippexs/ngxsamlp:latest) | ||
echo $ID | ||
echo "💫 Copying files ... " | ||
docker cp $ID:/tmp/xmldom.js $(pwd)/build/xmldom.js | ||
docker cp $ID:/tmp/xpath.js $(pwd)/build/xpath.js | ||
|
||
echo "🧻 Cleaning up..." | ||
docker rm -v $ID |
Empty file.