Go 1.5 is very-very old version
The newest stable version is 1.8.1. It would be great to test it.
Comments (10)
-
repo owner -
repo owner Ah, I see that the README only mentions that the version of the game that takes the sum of a column used Go 1.5. That actually did use 1.5 since I last ran it a long time ago and it's not running in Wercker (yet).
I guess it makes sense to show the version. I had
#2entered to do this but thought it was less important since anyone can check the docker build log for the versions. -
reporter Trying to make the patch, but docker fails to build the image. I'm using the original Dockerfile from the repo.
#=== ERROR while installing conf-m4.1 =========================================# # opam-version 1.2.0 # os linux # command sh -exc echo | m4 # path /root/.opam/system/build/conf-m4.1 # compiler system (4.01.0) # exit-code 127 # env-file /root/.opam/system/build/conf-m4.1/conf-m4-1162-05296d.env # stdout-file /root/.opam/system/build/conf-m4.1/conf-m4-1162-05296d.out # stderr-file /root/.opam/system/build/conf-m4.1/conf-m4-1162-05296d.err ### stderr ### # + echo # + m4 # sh: 1: m4: not found The former state can be restored with opam switch import "/root/.opam/system/backup/state-20170412121458.export" The command '/bin/sh -c opam init && opam install -y csv' returned a non-zero code: 4
-
repo owner Opam is an ocaml thing and I took out ocaml because I couldn't figure it out. Which commands did you run to try to build the image? Are ocaml bits not commented out in our Docker file?
Thanks
-
reporter I'm running the build with the command:
sudo docker build -t csv-game .
The line which fails is located here: https://bitbucket.org/ewanhiggs/csv-game/src/70f3734b7b3cd3fe23a840ad780f96264dcb237f/Docker/Dockerfile?at=master&fileviewer=file-view-default#Dockerfile-49
-
repo owner Thanks for the feedback. That Dockerfile isn't being used. I'll remove it immediately!
Here is the Dockerfile: https://bitbucket.org/ewanhiggs/csv-game-docker/src/74c06e8510b77193bc7333eabcf2aecb09320729/Dockerfile?at=master&fileviewer=file-view-default
It's in another repository. I'm sorry for wasting your time with the wrong file!
-
repo owner That Dockerfile isn't being used. I'll remove it immediately!
It's removed now.
-
reporter -
repo owner This is working now. Thanks for the patch!
-
repo owner - changed status to resolved
- Log in to comment
That's a good point, 1.5. is very old. Luckily it's a mistake in the README and we're using 1.7.4.
The docker file is here. It uses debian:testing and the last build picked up golang 1.7.4. The log for the docker image build is here.
Is 1.7.4 (or debian:testing in general) recent enough? If not, would you be willing to submit a patch to ewanhiggs/csv-game-docker to update the docker image so it manually installs the most recent version?