Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker fails: docker-compose -f docker/docker-compose.yaml up test #182

Closed
helje5 opened this issue Mar 16, 2018 · 2 comments
Closed

Docker fails: docker-compose -f docker/docker-compose.yaml up test #182

helje5 opened this issue Mar 16, 2018 · 2 comments
Assignees

Comments

@helje5
Copy link
Contributor

helje5 commented Mar 16, 2018

Expected behavior

docker-compose -f docker/docker-compose.yaml up test runs the test suite.

Actual behavior

Building the docker image fails:

Step 26/41 : ARG version=4.0.3
 ---> Using cache
 ---> 98a838f71a66
Step 27/41 : RUN mkdir $HOME/.swift
 ---> Using cache
 ---> c1011b5f61d1
Step 28/41 : RUN wget -q https://swift.org/builds/swift-${version}-release/ubuntu1404/swift-${version}-RELEASE/swift-${version}-RELEASE-ubuntu14.04.tar.gz -O $HOME/swift.tar.gz
 ---> Running in 3c69231a1f55
ERROR: Service 'swift-nio' failed to build: The command '/bin/sh -c wget -q https://swift.org/builds/swift-${version}-release/ubuntu1404/swift-${version}-RELEASE/swift-${version}-RELEASE-ubuntu14.04.tar.gz -O $HOME/swift.tar.gz' returned a non-zero code: 4

Steps to reproduce

Run docker-compose -f docker/docker-compose.yaml up test

Swift & OS version (output of swift --version && uname -a)

Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2)
Target: x86_64-apple-macosx10.9
Darwin ZeaPro.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jan 11 22:59:40 PST 2018; root:xnu-3789.73.8~1/RELEASE_X86_64 x86_64
Docker version 17.12.0-ce, build c97c6d6

P.S.: Can we just use the official image please?

@tomerd
Copy link
Member

tomerd commented Mar 16, 2018

wget error code 4 is a network failure, so there is nothing wrong afaict in the docker setup.

happy to chat more about the "official" docker image in #143

@tomerd tomerd closed this as completed Mar 16, 2018
@helje5
Copy link
Contributor Author

helje5 commented Mar 16, 2018

Hm, right, this part works at-home. Srz for the noise.

weissi pushed a commit to weissi/swift-nio that referenced this issue Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants