Convert build.sh to a multi-stage Dockerfile. (#452)
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
apk update
|
||||
|
||||
CWD=$(pwd)
|
||||
|
||||
if [ -f ${SRC_PKG}/build.sh ]; then
|
||||
cd ${SRC_PKG}
|
||||
./build.sh
|
||||
cd ${CWD}
|
||||
fi
|
||||
|
||||
cp -rf ${SRC_PKG} ${DEPLOY_PKG}
|
||||
Reference in New Issue
Block a user