Here's my Dockerfile:
FROM golang
RUN apt-get update
RUN go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
This generates this error:
package github.com/golang/protobuf/{proto,protoc-gen-go}: invalid github.com/ import path "github.com/golang/protobuf/{proto,protoc-gen-go}"
But, if I take out that RUN
directive, and just load up /bin/bash
in the docker container, I can run the go get
command just fine.
What's going on?