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 build fails on Windows 10 #99

Open
cengique opened this issue May 18, 2019 · 7 comments
Open

Docker build fails on Windows 10 #99

cengique opened this issue May 18, 2019 · 7 comments

Comments

@cengique
Copy link
Member

cengique commented May 18, 2019

On a Windows 10 with a fresh Docker download, this is what I get when I run the build script:

C:\Users\...\Documents\tremulous>docker build -t wtfbbqhax/tremulous:v2 .
Sending build context to Docker daemon  130.2MB
Step 1/4 : FROM ubuntu:yakkety
yakkety: Pulling from library/ubuntu
dca7be20e546: Pull complete
40bca54f5968: Pull complete
61464f23390e: Pull complete
d99f0bcd5dc8: Pull complete
120db6f90955: Pull complete
Digest: sha256:8dc9652808dc091400d7d5983949043a9f9c7132b15c14814275d25f94bca18a
Status: Downloaded newer image for ubuntu:yakkety
 ---> 7d3f705d307c
Step 2/4 : WORKDIR /usr/src
 ---> Running in dfd50c66aa4f
Removing intermediate container dfd50c66aa4f
 ---> c1c081c6d7f2
Step 3/4 : RUN apt update
 ---> Running in 6d203f5bf0d6

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Ign:1 http://security.ubuntu.com/ubuntu yakkety-security InRelease
Err:2 http://security.ubuntu.com/ubuntu yakkety-security Release
  404  Not Found [IP: 91.189.91.26 80]
Ign:3 http://archive.ubuntu.com/ubuntu yakkety InRelease
Ign:4 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease
Ign:5 http://archive.ubuntu.com/ubuntu yakkety-backports InRelease
Err:6 http://archive.ubuntu.com/ubuntu yakkety Release
  404  Not Found [IP: 91.189.88.162 80]
Err:7 http://archive.ubuntu.com/ubuntu yakkety-updates Release
  404  Not Found [IP: 91.189.88.162 80]
Err:8 http://archive.ubuntu.com/ubuntu yakkety-backports Release
  404  Not Found [IP: 91.189.88.162 80]
Reading package lists...
E: The repository 'http://security.ubuntu.com/ubuntu yakkety-security Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu yakkety Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu yakkety-updates Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu yakkety-backports Release' does not have a Release file.
The command '/bin/sh -c apt update' returned a non-zero code: 100

Do we need to update from yakkety @wtfbbqhax ?

@cengique
Copy link
Member Author

https://fridge.ubuntu.com/2017/07/20/ubuntu-16-10-yakkety-yak-end-of-life-reached-on-july-20-2017/

I would switch to Bionic Beaver or simply use a rolling release version from Debian.

@cengique
Copy link
Member Author

I also tried wtfbbqhax/tremulous:v4, but same error.

@dGr8LookinSparky
Copy link

I almost forgot that the readme needs to be updated, the wrong docker version is reference there. The version that travis-ci, which worked for @bananameth , is wtfbbqhax/tremulous:v3 : https://github.com/GrangerHub/tremulous/blob/server-browser-duplicates/.travis.yml#L32 . The readme should be adjusted accordingly based on how it is done in .travis.yml .

@cengique
Copy link
Member Author

@dGr8LookinSparky ah, that's good to know. I actually got the v2 image to run in the end. However, none of the Docker images can be rebuilt anymore because they are based on Ubuntu Yakkety, which has reached its end-of-life. So I pushed 2d147ad with updates to the Dockerfile and MinGW section of the Makefile. I also updated the README based on these changes in two commits 61236ad and bcfd271. However, I didn't create new Docker images yet. Should I let @wtfbbqhax to add to his account, or should be we create a grangerhub account on Docker? Potentially Github has some functionality now.

@dGr8LookinSparky
Copy link

@cengique , perhaps the best way to go is create a GrangerHub account on Docker for your updated docker images. Also be sure to update https://github.com/GrangerHub/tremulous/blob/server-browser-duplicates/.travis.yml accordingly, then travis-ci can confirm that the builds for all of the supported platforms with these changes work.

@wtfbbqhax
Copy link
Member

wtfbbqhax commented May 21, 2019 via email

@cengique
Copy link
Member Author

@wtfbbqhax did it already on the server-browser-duplicates branch mentioned above!

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

3 participants