Go 1.5 is very-very old version

Issue #7 resolved
Alexander Pavluk created an issue

The newest stable version is 1.8.1. It would be great to test it.

Comments (10)

  1. Ewan Higgs repo owner

    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?

  2. Ewan Higgs 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 #2 entered to do this but thought it was less important since anyone can check the docker build log for the versions.

  3. Alexander Pavluk 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
    
  4. Ewan Higgs 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

  5. Log in to comment