Skip to content

Commit

Permalink
change docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
stonezdj committed Sep 10, 2018
1 parent 7f9080d commit 72ae42b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/docker-compose/packaging
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
set -e # exit immediately if a simple command exits with a non-zero status
set -u # report the usage of uninitialized variables

# We grab the latest versions that are in the directory
COMPOSE_VERSION=`ls -r docker/docker-compose-Linux-x86_64-* | sed 's/docker\/docker-compose-Linux-x86_64-\(.*\)/\1/' | head -1`

echo "Copying docker-compose ${COMPOSE_VERSION} binary..."
mkdir -p ${BOSH_INSTALL_TARGET}/bin
cp ${BOSH_COMPILE_TARGET}/docker/docker-compose-Linux-x86_64-${COMPOSE_VERSION} ${BOSH_INSTALL_TARGET}/bin/docker-compose
cp ${BOSH_COMPILE_TARGET}/docker/docker-compose-Linux-x86_64 ${BOSH_INSTALL_TARGET}/bin/docker-compose
chmod +x ${BOSH_INSTALL_TARGET}/bin/docker-compose

0 comments on commit 72ae42b

Please sign in to comment.