mirror of
https://github.com/docker/compose.git
synced 2026-08-04 14:47:40 +00:00
Improve Dockerfile.run
This dockerfile generates a more lightweight image that works with the current official dynamically generated binaries Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com> Change image script to use new Dockerfile.run image without building compose Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com> Apply suggested fixes Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
This commit is contained in:
parent
31b2d9176b
commit
44653f2812
2 changed files with 13 additions and 11 deletions
|
|
@ -8,8 +8,10 @@ if [ -z "$1" ]; then
|
|||
fi
|
||||
|
||||
TAG=$1
|
||||
|
||||
VERSION="$(python setup.py --version)"
|
||||
|
||||
./script/build/write-git-sha
|
||||
python setup.py sdist bdist_wheel
|
||||
docker build --build-arg version=$VERSION -t docker/compose:$TAG -f Dockerfile.run .
|
||||
./script/build/linux
|
||||
docker build -t docker/compose:$TAG -f Dockerfile.run .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue