Unable to build cassandra images
A wrong comparison option is used to test the existence of variables. This issue block the build for cassandra image. Closes-bug: #1744501 Change-Id: I8f801c78a260bb82b78a9ce3275b264b7acd1c11
This commit is contained in:
parent
4d91bb7c04
commit
8e68d163a8
|
@ -4,12 +4,12 @@ set -ex
|
||||||
set -o xtrace
|
set -o xtrace
|
||||||
|
|
||||||
# Set CASSANDRA_JAVA to override which release of Java to use, defaults to 8
|
# Set CASSANDRA_JAVA to override which release of Java to use, defaults to 8
|
||||||
if [ ! -z "$CASSANDRA_JAVA" ]; then CASSANDRA_JAVA=8; fi
|
if [ -z "$CASSANDRA_JAVA" ]; then CASSANDRA_JAVA=8; fi
|
||||||
|
|
||||||
# Set CASSANDRA_RELEASE to override which casandra release to use, defaults to 311x
|
# Set CASSANDRA_RELEASE to override which casandra release to use, defaults to 311x
|
||||||
# For current releases supported, see http://cassandra.apache.org/download/ or
|
# For current releases supported, see http://cassandra.apache.org/download/ or
|
||||||
# http://dl.bintray.com/apache/cassandra/dists/
|
# http://dl.bintray.com/apache/cassandra/dists/
|
||||||
if [ ! -z "$CASSANDRA_RELEASE" ]; then CASSANDRA_RELEASE=311x; fi
|
if [ -z "$CASSANDRA_RELEASE" ]; then CASSANDRA_RELEASE=311x; fi
|
||||||
|
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
apt-get --allow-unauthenticated install -qy curl
|
apt-get --allow-unauthenticated install -qy curl
|
||||||
|
|
Loading…
Reference in New Issue