FAILURE: Build failed with an exception.
if (OperatingSystem.current().isWindows()) {
commandLine 'cmd', '/c', 'docker', 'image', 'build', '-f', 'build/docker/Dockerfile', '-t', 'gateway', 'build/docker/'
} else {
commandLine 'docker', 'image', 'build', '-f', 'build/docker/Dockerfile', '-t', 'gateway', 'build/docker/'
}
$ docker image build
should be
$ docker build
This ticket has been closed as the guidelines are not followed.
Tickets must follow our Guidelines, as mentioned in:
We have also created a template on the "create a new ticket" page to help you follow those guidelines.
Open a new issue with proper details or update this issue with all details and request to reopen.
Issues opened without proper details will be closed without explanation.
If you have a question please use Stack Overflow for that. Tag the question with jhipster and someone will help you out there.
This helps us to keep our issue tracker clean. Also, Stack Overflow will give your query a larger audience.
you are probably using an old docker version but without any info we wouldn't know
Docker version 1.12.6, build 78d1802
Is not an old version
probably you didnt get the memo. Current docker version is 17.x
anyway I guess the command syntax changed from v1.13 onwards. So upgrade docker
It's a totally new Branch, most tools don't support it.
Yeah I'll prob upgrade.
Since the install instructions for docker 17 are wrong and it doesn't install (debian, ubuntu, mint, etc).
If it helps anyone (probably my future self)
sudo apt-key adv \ --keyserver hkp://ha.pool.sks-keyservers.net:80 \ --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt-get update
sudo apt-get install docker-engine
Most helpful comment
anyway I guess the command syntax changed from v1.13 onwards. So upgrade docker