зеркало из https://github.com/docker/kitematic.git
Fixing npm install
This commit is contained in:
Родитель
6ae5cf360d
Коммит
bc7438d946
18
util/deps
18
util/deps
|
@ -8,15 +8,6 @@ DOCKER_CLI_FILE=docker-$DOCKER_CLI_VERSION
|
||||||
|
|
||||||
pushd $BASE/resources > /dev/null
|
pushd $BASE/resources > /dev/null
|
||||||
|
|
||||||
if [ ! -f $DOCKER_MACHINE_CLI_FILE ]; then
|
|
||||||
echo "-----> Downloading Docker Machine CLI..."
|
|
||||||
rm -rf docker-machine*
|
|
||||||
# Use temporary, new version of docker-machine that has some important fixes
|
|
||||||
# curl -L -o $DOCKER_MACHINE_CLI_FILE https://github.com/docker/machine/releases/download/v$DOCKER_MACHINE_CLI_VERSION/docker-machine_darwin-amd64
|
|
||||||
curl -L -o $DOCKER_MACHINE_CLI_FILE https://github.com/kitematic/kitematic/releases/download/v0.5.10/docker-machine_darwin-amd64
|
|
||||||
chmod +x $DOCKER_MACHINE_CLI_FILE
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -f $DOCKER_CLI_FILE ]; then
|
if [ ! -f $DOCKER_CLI_FILE ]; then
|
||||||
echo "-----> Downloading Docker CLI..."
|
echo "-----> Downloading Docker CLI..."
|
||||||
rm -rf docker-*
|
rm -rf docker-*
|
||||||
|
@ -27,4 +18,13 @@ if [ ! -f $DOCKER_CLI_FILE ]; then
|
||||||
chmod +x $DOCKER_CLI_FILE
|
chmod +x $DOCKER_CLI_FILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f $DOCKER_MACHINE_CLI_FILE ]; then
|
||||||
|
echo "-----> Downloading Docker Machine CLI..."
|
||||||
|
rm -rf docker-machine*
|
||||||
|
# Use temporary, new version of docker-machine that has some important fixes
|
||||||
|
# curl -L -o $DOCKER_MACHINE_CLI_FILE https://github.com/docker/machine/releases/download/v$DOCKER_MACHINE_CLI_VERSION/docker-machine_darwin-amd64
|
||||||
|
curl -L -o $DOCKER_MACHINE_CLI_FILE https://github.com/kitematic/kitematic/releases/download/v0.5.10/docker-machine_darwin-amd64
|
||||||
|
chmod +x $DOCKER_MACHINE_CLI_FILE
|
||||||
|
fi
|
||||||
|
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
Загрузка…
Ссылка в новой задаче