blob: 0add6662db8f3b7ef5b2afba8df59fc48959b98c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
build-wagon:
@echo "### Copy generated k8s plugin"
cp ../k8splugin-*.zip .
@echo "### Create docker image (CentOS)"
docker build -t k8splugin -f centos.wagon-builder.dockerfile .
@echo "### Run docker container and generate wagon file"
docker run -t --name k8s_container k8splugin:latest
@echo "### Copy wagon file from docker image to current directory"
docker cp k8s_container:/opt/app-root/src/output .
@echo "### Remove docker container"
docker rm k8s_container
|