Skip to content

Commit 909b2d0

Browse files
committed
Add debug info to pack command, remove interactive mode.
1 parent 0417829 commit 909b2d0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docker-compose.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,16 @@ sub_pack(){
102102
# Get layer with the tag METACALL_CLEAR_OPTIONS to hook into the previous layer of the clean command
103103
DOCKER_HOOK_CLEAR=`docker image history --no-trunc metacall/core:dev | grep 'ARG METACALL_CLEAR_OPTIONS' | awk '{print $1}'`
104104

105+
# Show the base layer for the build
106+
echo "Generating the pack from layer: ${DOCKER_HOOK_CLEAR}"
107+
105108
# Run the package builds
106-
docker run --name metacall_core_pack -it $DOCKER_HOOK_CLEAR /bin/bash -c ' \
107-
cd build && make pack \
108-
'
109+
docker run --name metacall_core_pack -i $DOCKER_HOOK_CLEAR /bin/bash -c 'cd build && make pack'
109110

111+
# Copy artifacts
110112
docker cp metacall_core_pack:$METACALL_PATH/build/packages $ARTIFACTS_PATH
111113

114+
# Remove docker instance
112115
docker rm metacall_core_pack
113116
}
114117

0 commit comments

Comments
 (0)