wireapp/wire-server

Docker installation process failed

mimikadze opened this issue · 3 comments

Trying to build wire server from sources via docker according to https://github.com/wireapp/wire-server#2-use-docker

How to reproduce
git clone git@github.com:wireapp/wire-server.git
cd wire-server
make docker-deps docker-intermediate docker-services

Output (last lines in the scope of error)

Sending build context to Docker daemon  7.632MB
Step 1/9 : ARG builder=quay.io/wire/alpine-builder
Step 2/9 : ARG deps=quay.io/wire/alpine-deps
Step 3/9 : FROM ${builder} as builder
latest: Pulling from wire/alpine-builder
c87736221ed0: Already exists
9e8c3cb7394f: Already exists
6eee8d483742: Already exists
9dee34041f74: Already exists
c98236995472: Already exists
fa035e826c1d: Already exists
0998605de9c8: Already exists
Digest: sha256:9fd3da9c4245aa1380ad3024335d4652869ab4f1122a86e71297ac8661daf231
Status: Downloaded newer image for quay.io/wire/alpine-builder:latest
 ---> fcaaac9e20fc
Step 4/9 : WORKDIR /wire-server/
 ---> Running in d8bae9faf351
Removing intermediate container d8bae9faf351
 ---> 38fa9a756773
Step 5/9 : COPY . /wire-server/
 ---> fb867406901d
Step 6/9 : RUN make clean install
 ---> Running in 7ad59dad7111
bash: docker: command not found
stack clean
Warnings when parsing snapshot lts-14.12
Unrecognized field in Snapshot: publish-time
Cloning 0a5142cd3ba48116ff059c041348b817fb7bdb25 from https://github.com/wireapp/hspec-wai
Cloning cc47da1d097b0b26595b8889e40c33c6c0c1c551 from https://github.com/wireapp/hsaml2
Cloning a160cef95d9daaff7d9cfe616d95754c2f8202bf from https://github.com/wireapp/http-client
Cloning a160cef95d9daaff7d9cfe616d95754c2f8202bf from https://github.com/wireapp/http-client
Cloning a160cef95d9daaff7d9cfe616d95754c2f8202bf from https://github.com/wireapp/http-client
Cloning a160cef95d9daaff7d9cfe616d95754c2f8202bf from https://github.com/wireapp/http-client
Cloning 1a1b313092beb685a9bb15685c83a3162c1e220f from https://github.com/wireapp/saml2-web-sso
Cloning 20e2ce169d2c85a10c09b4dc564eacedf8acad68 from https://github.com/wireapp/hscim
make -C services/nginz clean
make[1]: Entering directory '/wire-server/services/nginz'
rm -rf src build .metadata zwagger-ui/swagger-ui
make[1]: Leaving directory '/wire-server/services/nginz'
rm -rf dist
rm -f .metadata
mkdir -p dist
stack install --pedantic --test --bench --no-run-benchmarks --local-bin-path=dist
Warnings when parsing snapshot lts-14.12
Unrecognized field in Snapshot: publish-time
No setup information found for ghc-8.6.5 on your platform.
This probably means a GHC bindist has not yet been added for OS key 'linux64-ncurses6'.
Supported versions: ghc-7.10.3, ghc-8.0.1, ghc-8.0.2, ghc-8.2.1, ghc-8.2.2
make: *** [Makefile:14: install] Error 1
The command '/bin/sh -c make clean install' returned a non-zero code: 2
Makefile:128: recipe for target 'docker-intermediate' failed
make: *** [docker-intermediate] Error 2

OS: Ubuntu 18.04 LTS. Tried to build on my macos 10.13 and experienced same behaviour.

Yep we changed some tags in our CI which aren't using the Makefile's directly for building. I have this in my radar to fix the Makefiles

This should be fixed now. Could you have another try?

Yep, tested from fresh build, works well now!