Skip to content
This repository was archived by the owner on Mar 11, 2020. It is now read-only.
This repository was archived by the owner on Mar 11, 2020. It is now read-only.

golang 1.7 causes IsAlias error #33

@stegarev

Description

@stegarev

Ubuntu 16.04 LTS

git clone https://github.com/docker/communitytools-image2docker-linux
cd communitytools-image2docker-linux
make prepare
Sending build context to Docker daemon  51.82MB
Step 1/2 : FROM golang:1.7
 ---> 225948c9a8b1
Step 2/2 : RUN go get -u github.com/rancher/trash &&     go get -u github.com/golang/lint/golint
 ---> Running in 1cc869ecca54
# golang.org/x/tools/go/internal/gcimporter
src/golang.org/x/tools/go/internal/gcimporter/bexport.go:212: obj.IsAlias undefined (type *types.TypeName has no field or method IsAlias)
The command '/bin/sh -c go get -u github.com/rancher/trash &&     go get -u github.com/golang/lint/golint' returned a non-zero code: 2

I fixed it with:
tooling/tooling.df: FROM golang:1.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions