Page Menu
Home
Search
Configure Global Search
Log In
Files
F13083366
build.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
378 B
Subscribers
None
build.sh
View Options
#!/usr/bin/env bash
DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
echo
$DIR
if
[[
$1
==
'pro'
||
$1
==
'dev'
]]
;
then
# Copy requirements.txt into pro folder
cp ../requirements.txt
$1
/requirements.txt
# Build image
docker build -t armadillica/pillar_
$1
$1
# Remove requirements.txt
rm
$1
/requirements.txt
else
echo
"POS. Your options are 'pro' or 'dev'"
fi
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Fri, May 20, 3:19 AM (2 d)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1a/f7/85272ae2dedf507568b9d19d2614
Attached To
rPS Pillar
Event Timeline
Log In to Comment